Merge "disp: msm: sde: avoid disabling dsc encoder in PP block"

This commit is contained in:
qctecmdr
2020-05-25 10:52:49 -07:00
committed by Gerrit - the friendly Code Review server
3 changed files with 15 additions and 5 deletions

View File

@@ -1299,7 +1299,8 @@ static void _sde_crtc_set_src_split_order(struct drm_crtc *crtc,
prv_pstate = (i > 0) ? &pstates[i - 1] : NULL;
cur_pstate = &pstates[i];
nxt_pstate = ((i + 1) < cnt) ? &pstates[i + 1] : NULL;
prev_layout = prv_pstate->sde_pstate->layout;
prev_layout = prv_pstate ? prv_pstate->sde_pstate->layout :
SDE_LAYOUT_NONE;
cur_layout = cur_pstate->sde_pstate->layout;
if ((!prv_pstate) || (prv_pstate->stage != cur_pstate->stage)