Merge "disp: msm: sde: handle SSPP system cache for multi-plane scenario"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
efb465749b
@@ -2870,8 +2870,7 @@ static void _sde_plane_sspp_setup_sys_cache(struct sde_plane *psde,
|
|||||||
cfg->flags |= SYS_CACHE_NO_ALLOC;
|
cfg->flags |= SYS_CACHE_NO_ALLOC;
|
||||||
cfg->type = SDE_SYS_CACHE_DISP;
|
cfg->type = SDE_SYS_CACHE_DISP;
|
||||||
|
|
||||||
} else if ((sc_cfg[fb_cache_type].has_sys_cache)
|
} else if ((sc_cfg[fb_cache_type].has_sys_cache) && fb_cache_flag) {
|
||||||
&& (fb_cache_flag & MSM_FB_CACHE_WRITE_EN)) {
|
|
||||||
cfg->rd_en = true;
|
cfg->rd_en = true;
|
||||||
cfg->rd_scid = sc_cfg[fb_cache_type].llcc_scid;
|
cfg->rd_scid = sc_cfg[fb_cache_type].llcc_scid;
|
||||||
cfg->rd_noallocate = true;
|
cfg->rd_noallocate = true;
|
||||||
|
Reference in New Issue
Block a user