msm: kgsl: Fix black screen when enabled protected context on A680

This bit should only be set when CM3_CGC clock gating is enabled,
Otherwise always live CM3 clock will make dead loop in CM3 clock
control FSM, No Effect If this bit is set to 0, this is the default
behavior.

Change-Id: I9052182bd05e38433e11bbfdfa1f1c48c980fc9b
Signed-off-by: Hui Li <hul@codeaurora.org>
This commit is contained in:
Hui Li 2021-05-10 17:34:13 +08:00
commit 7972d3a6ac

View file

@ -1218,7 +1218,6 @@ static const struct adreno_reglist a680_hwcg_regs[] = {
{A6XX_GMUAO_GMU_CGC_MODE_CNTL, 0x00020202},
{A6XX_GMUAO_GMU_CGC_DELAY_CNTL, 0x00010111},
{A6XX_GMUAO_GMU_CGC_HYST_CNTL, 0x00005555},
{A6XX_GMUCX_GMU_WFI_CONFIG, 0x00000002},
{A6XX_GMUGX_GMU_SP_RF_CONTROL_0, 0x00000001},
{A6XX_GMUGX_GMU_SP_RF_CONTROL_1, 0x00000001},
};