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

Commit 332ab138 authored by Harshdeep Dhatt's avatar Harshdeep Dhatt
Browse files

msm: kgsl: Correct a650 LLC configuration



There has been no change in the way we configure the LLC slices
for a650 gpu as we did for a640 gpu. So make the code consistent.

Change-Id: If71b41a769bc15bd625d44e5495b2d86f31493e4
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
parent 54f3590a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1727,7 +1727,7 @@ static void a6xx_llc_configure_gpuhtw_scid(struct adreno_device *adreno_dev)
	 * On A640, the GPUHTW SCID is configured via a NoC override in the
	 * XBL image.
	 */
	if (adreno_is_a640(adreno_dev) || adreno_is_a612(adreno_dev))
	if (adreno_is_a640_family(adreno_dev) || adreno_is_a612(adreno_dev))
		return;

	gpuhtw_scid = adreno_llc_get_scid(adreno_dev->gpuhtw_llc_slice);
@@ -1748,7 +1748,7 @@ static void a6xx_llc_enable_overrides(struct adreno_device *adreno_dev)
	 * Attributes override through GBIF is not supported with MMU-500.
	 * Attributes are used as configured through SMMU pagetable entries.
	 */
	if (adreno_is_a640(adreno_dev) || adreno_is_a612(adreno_dev))
	if (adreno_is_a640_family(adreno_dev) || adreno_is_a612(adreno_dev))
		return;

	/*