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

Commit f1224339 authored by Nitheesh Muthuraj's avatar Nitheesh Muthuraj Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Granule Fill Override Enable



The LLC uses a 64 byte cache line size, but has a GFO
mode where it can allocate partial cache lines as well.
So Enabling GFO mode for higher performance.

Change-Id: I941b3ed4fa20038834362134d6dfaeae77f0cfdf
Signed-off-by: default avatarNitheesh Muthuraj <nmuthuraj@codeaurora.org>
parent 7bac0bc0
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1394,10 +1394,12 @@ static void a6xx_llc_configure_gpu_scid(struct adreno_device *adreno_dev)
	/*
	 * On A660, the SCID programming for UCHE traffic is done in
	 * A6XX_GBIF_SCACHE_CNTL0[14:10]
	 * GFO ENABLE BIT(8) : LLC uses a 64 byte cache line size enabling
	 * GFO allows it allocate partial cache lines
	 */
	if (adreno_is_a660(adreno_dev))
		kgsl_regrmw(device, A6XX_GBIF_SCACHE_CNTL0, 0x1f << 10,
			gpu_scid << 10);
		kgsl_regrmw(device, A6XX_GBIF_SCACHE_CNTL0, (0x1f << 10) |
				BIT(8), (gpu_scid << 10) | BIT(8));
}

/*