mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
msm: kgsl: Override UBWC configuration for A660 based on DDR type
The highest bank bit defined in the A660 gpucore structure defaults to DDR type 8. If underlying DDR is type 7, then modify the highest bank bit accordingly. Change-Id: Idd36f69227dca63eef19c1ac1843b88982346edd Signed-off-by: Raghu Ananya Arabolu <rarabolu@codeaurora.org>
This commit is contained in:
parent
0b0f7507d8
commit
dfdd7d2890
1 changed files with 3 additions and 1 deletions
|
|
@ -106,7 +106,9 @@ static void a6xx_init(struct adreno_device *adreno_dev)
|
|||
|
||||
adreno_dev->highest_bank_bit = a6xx_core->highest_bank_bit;
|
||||
|
||||
if (adreno_is_a650(adreno_dev) && of_fdt_get_ddrtype() == 0x7)
|
||||
/* If the memory type is DDR 4, override the existing configuration */
|
||||
if ((adreno_is_a650(adreno_dev) || adreno_is_a660(adreno_dev)) &&
|
||||
of_fdt_get_ddrtype() == 0x7)
|
||||
adreno_dev->highest_bank_bit = 15;
|
||||
|
||||
a6xx_crashdump_init(adreno_dev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue