Revert "drm/atomic: Call ww_acquire_done after check phase is complete"
authorDave Airlie <airlied@redhat.com>
Tue, 25 Aug 2015 07:23:36 +0000 (17:23 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 25 Aug 2015 07:23:36 +0000 (17:23 +1000)
This reverts commit 992cbf19b32900efa17850b9fa0031fd623edd4d.

Until we make fbdev layer atomic we can't call this.

Requested-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com?
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_atomic.c

index 1066e4b658cf9a341c1955fb34f82040a4be909c..434915448ea0be99b7786c6daf2650cfb93b728a 100644 (file)
@@ -1230,9 +1230,6 @@ int drm_atomic_check_only(struct drm_atomic_state *state)
                }
        }
 
-       if (ret == 0)
-               ww_acquire_done(&state->acquire_ctx->ww_ctx);
-
        return ret;
 }
 EXPORT_SYMBOL(drm_atomic_check_only);