summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-04-11 14:26:55 +0000
committerDave Airlie <airlied@redhat.com>2013-04-12 14:21:12 +1000
commit89ced125472b8551c65526934b7f6c733a6864fa (patch)
tree33fb230e4392878537e19a01d724b9a7a00eb313 /mm
parent1baee58638fc58248625255f5c5fcdb987f11b1f (diff)
downloadlinux-3.10-89ced125472b8551c65526934b7f6c733a6864fa.tar.gz
linux-3.10-89ced125472b8551c65526934b7f6c733a6864fa.tar.bz2
linux-3.10-89ced125472b8551c65526934b7f6c733a6864fa.zip
drm/fb-helper: Fix locking in drm_fb_helper_hotplug_event
Driver's and ->fill_modes functions are allowed to grab crtc mutexes (for e.g. load detect). Hence we need to first only grab the general kms mutex, and only in a second step grab all locks to do the modesets. This prevents a deadlock on my gm45 in the tv load detect code called by drm_helper_probe_single_connector_modes. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions