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

Commit 141dc0cc authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm:msm:dsi reject commit if seemless comes with active changed"

parents 91bc59a5 a873b888
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -396,6 +396,16 @@ static bool dsi_bridge_mode_fixup(struct drm_bridge *bridge,
			(!crtc_state->active_changed ||
			 display->is_cont_splash_enabled))
			dsi_mode.dsi_mode_flags |= DSI_MODE_FLAG_DMS;

		/* Reject seemless transition when active changed. */
		if (crtc_state->active_changed &&
			((dsi_mode.dsi_mode_flags & DSI_MODE_FLAG_VRR) ||
			(dsi_mode.dsi_mode_flags & DSI_MODE_FLAG_DYN_CLK))) {
			pr_err("seamless upon active changed 0x%x %d\n",
				dsi_mode.dsi_mode_flags,
				crtc_state->active_changed);
			return false;
		}
	}

	/* convert back to drm mode, propagating the private info & flags */