projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab58e33
)
drm/atomic: Drop per-plane locking TODO
author
Daniel Vetter
<
[email protected]
>
Mon, 24 Nov 2014 19:51:21 +0000
(20:51 +0100)
committer
Daniel Vetter
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/drm_atomic.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_atomic.c
b/drivers/gpu/drm/drm_atomic.c
index d3b46746b611a84a56432f80e608e61d7e5b4203..ba49b5ca822f1ef6b9c3a2d8777b2812c549ccee 100644
(file)
--- a/
drivers/gpu/drm/drm_atomic.c
+++ b/
drivers/gpu/drm/drm_atomic.c
@@
-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);