Merge "disp: msm: sde: swap right mixer flag"

This commit is contained in:
qctecmdr
2023-09-20 11:19:16 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -1607,8 +1607,9 @@ static void _sde_crtc_program_lm_output_roi(struct drm_crtc *crtc)
lm_roi = &cstate->lm_roi[lm_idx]; lm_roi = &cstate->lm_roi[lm_idx];
hw_lm = sde_crtc->mixers[lm_idx].hw_lm; hw_lm = sde_crtc->mixers[lm_idx].hw_lm;
if (!sde_crtc->mixers_swapped) right_mixer = lm_idx % MAX_MIXERS_PER_LAYOUT;
right_mixer = lm_idx % MAX_MIXERS_PER_LAYOUT; if (sde_crtc->mixers_swapped)
right_mixer = !right_mixer;
if (lm_roi->w != hw_lm->cfg.out_width || if (lm_roi->w != hw_lm->cfg.out_width ||
lm_roi->h != hw_lm->cfg.out_height || lm_roi->h != hw_lm->cfg.out_height ||