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

Commit 0260a4d8 authored by Raghu Ananya Arabolu's avatar Raghu Ananya Arabolu Committed by Carter Cooper
Browse files

msm: kgsl: Disable HW clock gating on A650



A650 does not yet support HW clock gating so disable it.

Change-Id: I563a3df177cea3963014d3828f2992a290ac32fc
Signed-off-by: default avatarRaghu Ananya Arabolu <rarabolu@codeaurora.org>
Signed-off-by: default avatarCarter Cooper <ccooper@codeaurora.org>
parent 9d2c3982
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -693,6 +693,10 @@ static void a6xx_hwcg_set(struct adreno_device *adreno_dev, bool on)
	unsigned int value;
	int i, j;

	/* A650 doesn't support hwcg yet so return early */
	if (adreno_is_a650(adreno_dev))
		return;

	if (!test_bit(ADRENO_HWCG_CTRL, &adreno_dev->pwrctrl_flag))
		on = false;