drm/atomic: Drop per-plane locking TODO
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 24 Nov 2014 19:51:21 +0000 (20:51 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 25 Nov 2014 12:12:43 +0000 (13:12 +0100)
I've forgotten to remove that in my per-plane locking patch.

Reported-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/drm_atomic.c

index d3b46746b611a84a56432f80e608e61d7e5b4203..ba49b5ca822f1ef6b9c3a2d8777b2812c549ccee 100644 (file)
@@ -243,12 +243,6 @@ drm_atomic_get_plane_state(struct drm_atomic_state *state,
        if (state->plane_states[index])
                return state->plane_states[index];
 
-       /*
-        * TODO: We currently don't have per-plane mutexes. So instead of trying
-        * crazy tricks with deferring plane->crtc and hoping for the best just
-        * grab all crtc locks. Once we have per-plane locks we must update this
-        * to only take the plane mutex.
-        */
        ret = drm_modeset_lock(&plane->mutex, state->acquire_ctx);
        if (ret)
                return ERR_PTR(ret);