aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-12-14 00:08:10 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-12-18 14:36:43 +0100
commit91eefc05f0ac71902906b2058360e61bd25137fe (patch)
tree33fdaad18a9ffc544e68466ab5e64949b6d1a962 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentdrm: prevent double-(un)registration for connectors (diff)
downloadwireguard-linux-91eefc05f0ac71902906b2058360e61bd25137fe.tar.xz
wireguard-linux-91eefc05f0ac71902906b2058360e61bd25137fe.zip
drm: Tighten locking in drm_mode_getconnector
- Modeset state needs mode_config->connection mutex, that covers figuring out the encoder, and reading properties (since in the atomic case those need to look at connector->state). - Don't hold any locks for stuff that's invariant (i.e. possible connectors). - Same for connector lookup and unref, those don't need any locks. - And finally the probe stuff is only protected by mode_config->mutex. While at it updated the kerneldoc for these fields in drm_connector and add docs explaining what's protected by which locks. Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20161213230814.19598-10-daniel.vetter@ffwll.ch
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions