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: Nitheesh Muthuraj <nmuthuraj@codeaurora.org>
This commit is contained in:
Nitheesh Muthuraj 2020-10-22 15:37:00 -07:00 • committed by Gerrit - the friendly Code Review server
commit f1224339d0

View file

@ -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));
}
/*