[PATCHv2 31/45] drm: omapdrm: omap_crtc_flush() isn't called with modeset locked

Tomi Valkeinen tomi.valkeinen at ti.com
Thu Jun 4 02:02:48 PDT 2015

From: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

When performing asynchronous atomic updates the modeset lock isn't taken
around the callers of omap_crtc_flush(). This isn't an issue though, as
access to the CRTC is properly serialized. Just drop the warning.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen at ti.com>
 drivers/gpu/drm/omapdrm/omap_crtc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c
index 993bd15ecfbd..8cbac72a1015 100644
--- a/drivers/gpu/drm/omapdrm/omap_crtc.c
+++ b/drivers/gpu/drm/omapdrm/omap_crtc.c
@@ -365,7 +365,6 @@ static int omap_crtc_flush(struct drm_crtc *crtc)
 	DBG("%s: GO", omap_crtc->name);
-	WARN_ON(!drm_modeset_is_locked(&crtc->mutex));
 	if (dispc_mgr_is_enabled(omap_crtc->channel)) {

More information about the dri-devel mailing list