aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2014-11-19 18:38:06 +0100
committerDave Airlie <[email protected]>2014-11-20 11:35:18 +1000
commitc7eb76f4931b505e57c6510133df19f4ec1ce3e5 (patch)
treec9a21a82b2ca4ea1c97d6870e7bace2a3616d446 /scripts/gdb/linux/proc.py
parent7f907bf284ba7bb8d271f094b226699d3fef2142 (diff)
drm/atomic: Ensure that drm_connector_index is stable
I've totally forgotten that with DP MST connectors can now be hotplugged. And failed to adapt Rob's drm_atomic_state code (which predates connector hotplugging) to the new realities. The first step is to make sure that the connector indices used to access the arrays of pointers are stable. The connection mutex gives us enough guarantees for that, which means we won't unecessarily block on concurrent modesets or background probing. So add a locking WARN_ON and shuffle the code slightly to make sure we always hold the right lock. Signed-off-by: Daniel Vetter <[email protected]> Reviewed-by: Rob Clark <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions