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

Commit eb125168 authored by Carter Cooper's avatar Carter Cooper
Browse files

msm: kgsl: Allow different GPU frequency table based on feature flag



Allow A650 GPUs to use different frequency tables if LM is enabled.

Change-Id: Idf4a54589f518d3fc90a6d4d52a05ae68756de56
Signed-off-by: default avatarCarter Cooper <ccooper@codeaurora.org>
parent b482dc81
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2399,6 +2399,14 @@ static void a6xx_platform_setup(struct adreno_device *adreno_dev)

	/* Check efuse bits for various capabilties */
	a6xx_check_features(adreno_dev);

	/*
	 * A640 GPUs used a fuse to determine which frequency plan to
	 * use for the GPU. For A650 GPUs enable using higher frequencies
	 * based on the LM feature flag.
	 */
	if (adreno_is_a650(adreno_dev) && ADRENO_FEATURE(adreno_dev, ADRENO_LM))
		adreno_dev->speed_bin = 1;
}