From: Daniel Vetter Date: Thu, 11 Apr 2013 14:26:55 +0000 (+0000) Subject: drm/fb-helper: Fix locking in drm_fb_helper_hotplug_event X-Git-Tag: v3.9-rc7~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89ced125472b8551c65526934b7f6c733a6864fa;p=pandora-kernel.git 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 Signed-off-by: Dave Airlie --- Reading git-diff-tree failed