disp: msm: sde: fix system cache feature enable
In current driver if client did not reset system cache crtc property, system cache write state is on forever and breaks the system cache feature. This change restricts entering into cache write state only if it's commit right after idle notify. This change also adds event logs to capture system cache feature state changes. Change-Id: Ie46fc9113f752ed8989dab99301690a13003b00b Signed-off-by: Prabhanjan Kandula <pkandula@codeaurora.org>
This commit is contained in:
@@ -2833,6 +2833,9 @@ static void _sde_plane_sspp_setup_sys_cache(struct sde_plane *psde,
|
||||
pstate->sc_cfg.type = SDE_SYS_CACHE_DISP;
|
||||
}
|
||||
|
||||
SDE_EVT32(DRMID(&psde->base), pstate->sc_cfg.rd_scid,
|
||||
pstate->sc_cfg.rd_en, pstate->sc_cfg.rd_noallocate);
|
||||
|
||||
psde->pipe_hw->ops.setup_sys_cache(
|
||||
psde->pipe_hw, &pstate->sc_cfg);
|
||||
}
|
||||
|
Viittaa uudesa ongelmassa
Block a user