drm: omapdrm: omap_crtc_flush() isn't called with modeset locked
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 15 Apr 2015 19:47:45 +0000 (22:47 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 12 Jun 2015 19:52:50 +0000 (22:52 +0300)
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@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_crtc.c

index 993bd15ecfbd5aa95f69c4efa1a63595c1317ee6..8cbac72a1015772afa0376614a4325a9d3bd235f 100644 (file)
@@ -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));
        WARN_ON(omap_crtc->vblank_irq.registered);
 
        if (dispc_mgr_is_enabled(omap_crtc->channel)) {