Merge "disp: msm: sde: fix reset of mixer swapping" into display-kernel.lnx.5.4
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
c29e22f272
@@ -1583,8 +1583,14 @@ static void _sde_crtc_swap_mixers_for_right_partial_update(
|
|||||||
* reprogram to be driven by PP1 instead.
|
* reprogram to be driven by PP1 instead.
|
||||||
* To support both cases, we prefer to support the mixer swap solution.
|
* To support both cases, we prefer to support the mixer swap solution.
|
||||||
*/
|
*/
|
||||||
if (!encoder_in_dsc_merge)
|
if (!encoder_in_dsc_merge) {
|
||||||
|
if (sde_crtc->mixers_swapped) {
|
||||||
|
swap(sde_crtc->mixers[0], sde_crtc->mixers[1]);
|
||||||
|
sde_crtc->mixers_swapped = false;
|
||||||
|
SDE_EVT32(SDE_EVTLOG_FUNC_CASE1);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
is_right_only = sde_kms_rect_is_null(&cstate->lm_roi[0]) &&
|
is_right_only = sde_kms_rect_is_null(&cstate->lm_roi[0]) &&
|
||||||
!sde_kms_rect_is_null(&cstate->lm_roi[1]);
|
!sde_kms_rect_is_null(&cstate->lm_roi[1]);
|
||||||
|
Reference in New Issue
Block a user