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

Commit b0279632 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Check for GPMU feature before requesting firmware"

parents 48becd5c 59a24ab5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -804,6 +804,9 @@ static int _load_gpmu_firmware(struct adreno_device *adreno_dev)
	uint32_t fw_size, header_size, block_size;
	int ret;

	if (!ADRENO_FEATURE(adreno_dev, ADRENO_GPMU))
		return 0;

	/* gpmu fw already saved and verified so do nothing new */
	if (adreno_dev->gpmu_cmds_size != 0)
		return 0;