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

Commit 8d5bba02 authored by Yashwanth's avatar Yashwanth
Browse files

disp: msm: sde: update dim layer check during secure transition



This change updates check for dim layer while transitioning
to secure UI if no planes are staged in previous commit.

Change-Id: Iba4a3cf58043a974647c0aabd38cad6d5522169b
Signed-off-by: default avatarYashwanth <yvulapu@codeaurora.org>
parent 452d137b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -4287,9 +4287,7 @@ static int _sde_crtc_check_secure_blend_config(struct drm_crtc *crtc,
			}

			if (!old_state->plane_mask &&
				(!old_cstate->num_dim_layers ||
				(old_cstate->dim_layer[0].stage !=
				sde_kms->catalog->sui_supported_blendstage))) {
				!old_cstate->num_dim_layers) {
				SDE_ERROR(
				"crtc%d: no dim layer in nonsecure to secure transition\n",
					DRMID(crtc));