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

Commit 00edb839 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/sde: fix validation in secure state check"

parents 50cba1fd 91714e49
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2952,7 +2952,7 @@ static int _sde_crtc_check_secure_state(struct drm_crtc *crtc,
	 */
	if (((secure == SDE_DRM_SEC_ONLY) &&
				(fb_ns || fb_sec || fb_sec_dir)) ||
			(fb_sec || fb_sec_dir)) {
			(fb_sec && fb_sec_dir)) {
		SDE_ERROR(
			"crtc%d: invalid planes fb_modes Sec:%d, NS:%d, Sec_Dir:%d, NS_Dir%d\n",
				crtc->base.id,