瀏覽代碼

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>
Laurent Pinchart 10 年之前
父節點
當前提交
55613acf1d
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/gpu/drm/omapdrm/omap_crtc.c

+ 0 - 1
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);
 	DBG("%s: GO", omap_crtc->name);
 
 
-	WARN_ON(!drm_modeset_is_locked(&crtc->mutex));
 	WARN_ON(omap_crtc->vblank_irq.registered);
 	WARN_ON(omap_crtc->vblank_irq.registered);
 
 
 	if (dispc_mgr_is_enabled(omap_crtc->channel)) {
 	if (dispc_mgr_is_enabled(omap_crtc->channel)) {