mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
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:
parent
7bac0bc013
commit
f1224339d0
1 changed files with 4 additions and 2 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue