summaryrefslogtreecommitdiff
path: root/arch/mips/kernel
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 /arch/mips/kernel
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 <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 'arch/mips/kernel')
0 files changed, 0 insertions, 0 deletions