|
@@ -1536,9 +1536,11 @@ bool drm_fb_helper_initial_config(struct drm_fb_helper *fb_helper, int bpp_sel)
|
|
|
|
|
|
drm_fb_helper_parse_command_line(fb_helper);
|
|
drm_fb_helper_parse_command_line(fb_helper);
|
|
|
|
|
|
|
|
+ mutex_lock(&dev->mode_config.mutex);
|
|
count = drm_fb_helper_probe_connector_modes(fb_helper,
|
|
count = drm_fb_helper_probe_connector_modes(fb_helper,
|
|
dev->mode_config.max_width,
|
|
dev->mode_config.max_width,
|
|
dev->mode_config.max_height);
|
|
dev->mode_config.max_height);
|
|
|
|
+ mutex_unlock(&dev->mode_config.mutex);
|
|
/*
|
|
/*
|
|
* we shouldn't end up with no modes here.
|
|
* we shouldn't end up with no modes here.
|
|
*/
|
|
*/
|