mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
Merge "msm: kgsl: Add GBIF L2 CGC control with A6x CGC"
This commit is contained in:
commit
08ae823c39
1 changed files with 4 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ static u32 a6xx_pwrup_reglist[] = {
|
|||
A6XX_SP_NC_MODE_CNTL,
|
||||
A6XX_PC_DBG_ECO_CNTL,
|
||||
A6XX_RB_CONTEXT_SWITCH_GMEM_SAVE_RESTORE,
|
||||
A6XX_UCHE_GBIF_GX_CONFIG,
|
||||
};
|
||||
|
||||
/* IFPC only static powerup restore list */
|
||||
|
|
@ -372,6 +373,9 @@ static void a6xx_hwcg_set(struct adreno_device *adreno_dev, bool on)
|
|||
kgsl_regwrite(device, a6xx_core->hwcg[i].offset,
|
||||
on ? a6xx_core->hwcg[i].value : 0);
|
||||
|
||||
/* GBIF L2 CGC control is not part of the UCHE */
|
||||
kgsl_regrmw(device, A6XX_UCHE_GBIF_GX_CONFIG, 0x70000, on ? 2 : 0);
|
||||
|
||||
/*
|
||||
* Enable SP clock after programming HWCG registers.
|
||||
* A612 and A610 GPU is not having the GX power domain.
|
||||
|
|
|
|||
Loading…
Reference in a new issue