From: Daniel Vetter Date: Thu, 9 Jul 2015 21:44:27 +0000 (+0200) Subject: drm/fbdev-helper: Grab mode_config.mutex in drm_fb_helper_single_add_all_connectors X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~34^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=169faecadd2444fc295c724c0a2f622b99e6bf19;p=pandora-kernel.git drm/fbdev-helper: Grab mode_config.mutex in drm_fb_helper_single_add_all_connectors This is now truly only duct-tape to keep locking checks happy since calling this function when hpd or polling are already enabled is a bug. The fbdev helper can't cope with hotplug changes yet at this point, only after that. Otoh a bit more robustness in this function can't hurt, and with this fbdev can actually cope with hotplug changes. And it's also more consistent with the connector hotadd/remove dp mst needs to do. Therefore document this as new official behavior. Reviewed-by: Maarten Lankhorst Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed