summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2015-04-15 21:47:45 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2015-06-12 21:52:50 +0200
commit55613acf1d1e4e6511e85d823e9235941236e6d3 (patch)
tree8bb161b38de43f1bc37fe97cae2374ac796aa883 /drivers/gpu/drm/omapdrm
parentdrm: omapdrm: Don't get/put dispc in omap_crtc_flush() (diff)
downloadlinux-55613acf1d1e4e6511e85d823e9235941236e6d3.tar.xz
linux-55613acf1d1e4e6511e85d823e9235941236e6d3.zip
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 <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_crtc.c1
1 files changed, 0 insertions, 1 deletions
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));
WARN_ON(omap_crtc->vblank_irq.registered);
if (dispc_mgr_is_enabled(omap_crtc->channel)) {