Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f9631cc authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Don't skip gmufw preallocations during firmware read"

parents 2278e9dd 3d7d0784
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -1174,8 +1174,7 @@ static int a6xx_gmu_load_firmware(struct kgsl_device *device)
	int ret, offset = 0;

	/* GMU fw already saved and verified so do nothing new */
	if (gmu->fw_image)
		return 0;
	if (!gmu->fw_image) {

		if (a6xx_core->gmufw_name == NULL)
			return -EINVAL;
@@ -1187,6 +1186,7 @@ static int a6xx_gmu_load_firmware(struct kgsl_device *device)
					a6xx_core->gmufw_name, ret);
			return ret;
		}
	}

	/*
	 * Zero payload fw blocks contain meta data and are