diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index d73703a695..1101b21bb2 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c @@ -2558,6 +2558,17 @@ static void drm_setup_crtcs(struct drm_fb_helper *fb_helper, width, height); drm_pick_crtcs(fb_helper, crtcs, modes, 0, width, height); + } else { + for (i = 0; i < fb_helper->connector_count; ++i) { + if (!enabled[i]) continue; + DRM_DEBUG_KMS("NOT WORKING: CONN %d - crtc: %tx\n", i, crtcs[i]); + } + memset(crtcs, 0, fb_helper->connector_count*sizeof(crtcs[0])); + drm_pick_crtcs(fb_helper, crtcs, modes, 0, width, height); + for (i = 0; i < fb_helper->connector_count; ++i) { + if (!enabled[i]) continue; + DRM_DEBUG_KMS("WORKING: CONN %d - crtc: %tx\n", i, crtcs[i]); + } } mutex_unlock(&fb_helper->dev->mode_config.mutex);