Skip to content
Snippets Groups Projects
Commit 278b5761 authored by Lyude Paul's avatar Lyude Paul
Browse files

drm/dp_mst: Remove all evil duplicate state pointers


There's no reason to track the atomic state three times. Unfortunately,
this is currently what we're doing, and even worse is that there is only
one actually correct state pointer: the one in mst_state->base.state.
mgr->state never seems to be used, along with the one in
mst_state->state.

This confused me for over 4 hours until I realized there was no magic
behind these pointers. So, let's save everyone else from the trouble.

Signed-off-by: default avatarLyude Paul <lyude@redhat.com&gt;.>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
parent 845669dc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment