summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_crtc.h
diff options
context:
space:
mode:
authorDaniel Vetter2014-11-19 18:38:07 +0100
committerDave Airlie2014-11-20 02:35:19 +0100
commit6f75cea66c8dd043ced282016b21a639af176642 (patch)
tree97174a86fc4aab950c0318e481a42ccd5ebfe91a /include/drm/drm_crtc.h
parentdrm/atomic: Ensure that drm_connector_index is stable (diff)
downloadkernel-qcow2-linux-6f75cea66c8dd043ced282016b21a639af176642.tar.gz
kernel-qcow2-linux-6f75cea66c8dd043ced282016b21a639af176642.tar.xz
kernel-qcow2-linux-6f75cea66c8dd043ced282016b21a639af176642.zip
drm/atomic: Only destroy connector states with connection mutex held
Otherwise the connector might have been unplugged and destroyed while we didn't look. Yet another fallout from DP MST hotplugging that I didn't consider. To make sure we get this right add an appropriate WARN_ON to drm_atomic_state_clear (obviously only when we actually have a state to clear up). And reorder all the state_clear and backoff calls to make it work out properly. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Reviewed-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_crtc.h')
0 files changed, 0 insertions, 0 deletions