diff options
| author | Daniel Vetter <[email protected]> | 2014-11-19 18:38:07 +0100 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2014-11-20 11:35:19 +1000 |
| commit | 6f75cea66c8dd043ced282016b21a639af176642 (patch) | |
| tree | 97174a86fc4aab950c0318e481a42ccd5ebfe91a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | c7eb76f4931b505e57c6510133df19f4ec1ce3e5 (diff) | |
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 <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions