mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
drm/atomic: Drop per-plane locking TODO
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>
This commit is contained in:
parent
ab58e3384b
commit
9c04b7e369
@ -243,12 +243,6 @@ drm_atomic_get_plane_state(struct drm_atomic_state *state,
|
|||||||
if (state->plane_states[index])
|
if (state->plane_states[index])
|
||||||
return 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);
|
ret = drm_modeset_lock(&plane->mutex, state->acquire_ctx);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ERR_PTR(ret);
|
return ERR_PTR(ret);
|
||||||
|
Loading…
Reference in New Issue
Block a user