diff options
-rw-r--r-- | drivers/gpu/drm/drm_fb_helper.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index 9808f6e37a9d..6374e9b75d45 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c | |||
@@ -821,7 +821,9 @@ int drm_fb_helper_single_fb_probe(struct drm_fb_helper *fb_helper, | |||
821 | if (crtc_count == 0 || sizes.fb_width == -1 || sizes.fb_height == -1) { | 821 | if (crtc_count == 0 || sizes.fb_width == -1 || sizes.fb_height == -1) { |
822 | /* hmm everyone went away - assume VGA cable just fell out | 822 | /* hmm everyone went away - assume VGA cable just fell out |
823 | and will come back later. */ | 823 | and will come back later. */ |
824 | return 0; | 824 | DRM_ERROR("Cannot find any crtc or sizes - going 1024x768\n"); |
825 | sizes.fb_width = sizes.surface_width = 1024; | ||
826 | sizes.fb_height = sizes.surface_height = 768; | ||
825 | } | 827 | } |
826 | 828 | ||
827 | /* push down into drivers */ | 829 | /* push down into drivers */ |