Merge "msm: kgsl: Drive FAL QACTIVE signal high before GMU boot"

This commit is contained in:
qctecmdr 2020-09-02 08:39:50 -07:00 • committed by Gerrit - the friendly Code Review server
commit 24066f28ba
2 changed files with 5 additions and 1 deletions

View file

@ -1039,6 +1039,7 @@
/* FAL10 veto register */
#define A6XX_GPU_GMU_CX_GMU_CX_FAL_INTF 0x1F8F0
#define A6XX_GPU_GMU_CX_GMU_CX_FALNEXT_INTF 0x1F8F1
#define A6XX_GMU_AO_INTERRUPT_EN 0x23B03
#define A6XX_GMU_AO_HOST_INTERRUPT_CLR 0x23B04

View file

@ -1300,8 +1300,11 @@ static void a6xx_gmu_register_config(struct adreno_device *adreno_dev)
u32 gmu_log_info, chipid = 0;
/* Vote veto for FAL10 feature if supported*/
if (a6xx_core->veto_fal10)
if (a6xx_core->veto_fal10) {
gmu_core_regwrite(device, A6XX_GPU_GMU_CX_GMU_CX_FAL_INTF, 0x1);
gmu_core_regwrite(device,
A6XX_GPU_GMU_CX_GMU_CX_FALNEXT_INTF, 0x1);
}
/* Turn on TCM retention */
gmu_core_regwrite(device, A6XX_GMU_GENERAL_7, 1);