From: Laurent Pinchart Date: Wed, 15 Apr 2015 19:47:45 +0000 (+0300) Subject: drm: omapdrm: omap_crtc_flush() isn't called with modeset locked X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=55613acf1d1e4e6511e85d823e9235941236e6d3;p=linux.git drm: omapdrm: omap_crtc_flush() isn't called with modeset locked 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 Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index 993bd15ecfbd5..8cbac72a10157 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)); WARN_ON(omap_crtc->vblank_irq.registered); if (dispc_mgr_is_enabled(omap_crtc->channel)) {