aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2016-12-14 00:08:10 +0100
committerDaniel Vetter <[email protected]>2016-12-18 14:36:43 +0100
commit91eefc05f0ac71902906b2058360e61bd25137fe (patch)
tree33fdaad18a9ffc544e68466ab5e64949b6d1a962 /include/linux/fpga/fpga-mgr.h
parente73ab00e9a0f1731f34d0620a9c55f5c30c4ad4e (diff)
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 <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions