Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae995e00 authored by Veera Sundaram Sankaran's avatar Veera Sundaram Sankaran
Browse files

drm/msm/sde: fix post_commit assignment in secure transitions



The transition from secure to non-secure is handled during
post commit for video mode panels. This is done based on the
post_commit flag set during the transition checks. Fix the
wrong bit operation used in setting the post_commit flag to
avoid unexpected behavior, during the transition.

Change-Id: I949be0b689a97f96b60bfb01863298071281e24c
Signed-off-by: default avatarVeera Sundaram Sankaran <veeras@codeaurora.org>
parent e795ead2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1609,7 +1609,7 @@ int sde_crtc_get_secure_transition_ops(struct drm_crtc *crtc,
		if (encoder->crtc != crtc)
			continue;

		post_commit &= sde_encoder_check_mode(encoder,
		post_commit |= sde_encoder_check_mode(encoder,
						MSM_DISPLAY_CAP_VID_MODE);
	}