disp: msm: sde: swap right mixer flag
Change swaps right mixer flag when swapping mixer. Histogram IRQ is registered to unexpected mixer index if both mixers' right mixer flag set as false. Change-Id: I0243d70129dc0c3bff24cabc8877c626101acd83 Signed-off-by: Renchao Liu <quic_rencliu@quicinc.com>
This commit is contained in:
@@ -1607,8 +1607,9 @@ static void _sde_crtc_program_lm_output_roi(struct drm_crtc *crtc)
|
||||
|
||||
lm_roi = &cstate->lm_roi[lm_idx];
|
||||
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 ||
|
||||
lm_roi->h != hw_lm->cfg.out_height ||
|
||||
|
Reference in New Issue
Block a user