aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2014-06-05 11:12:03 +0200
committerDave Airlie <[email protected]>2014-06-06 07:08:17 +1000
commitc7560f1281640b1232d1c3cb242aabf5bd83a857 (patch)
tree72970588b2e6ebbb98aecc61c02208b5a3e9ebf8 /include/linux/fpga/fpga-mgr.h
parent8d4ad9d4bb0a618c975a32d77087694ec6336f68 (diff)
drm: Fix getconnector connection_mutex locking
I've fumbled my own idea and enthusiastically wrapped all the getconnector code with the connection_mutex. But we only need it to chase the connector->encoder link. Even there it's not really needed since races with userspace won't matter, but better paranoid and consistent about this stuff. If we grap it everywhere connector probe callbacks can't grab it themselves, which means they'll deadlock. i915 does that for the load detect pipe. Furthermore i915 needs to do a ww dance since we also need to grab the mutex of the load detect crtc. This is a regression from commit 6e9f798d91c526982cca0026cd451e8fdbf18aaf Author: Daniel Vetter <[email protected]> Date: Thu May 29 23:54:47 2014 +0200 drm: Split connection_mutex out of mode_config.mutex (v3) Cc: Rob Clark <[email protected]> Cc: Dave Airlie <[email protected]> Cc: Ville Syrjälä <[email protected]> Reported-by: Ville Syrjälä <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Reviewed-by: Rob Clark <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions