Skip to content

Commit

Permalink
drm/modes: Fall back to 1024x768 instead of 800x600
Browse files Browse the repository at this point in the history
This matches the X server's fallback modes when using RANDR 1.2.

See also: http://bugzilla.redhat.com/538761

Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Adam Jackson authored and Dave Airlie committed Nov 24, 2009
1 parent 862b89c commit 9632b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/drm_crtc_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,

count = (*connector_funcs->get_modes)(connector);
if (!count) {
count = drm_add_modes_noedid(connector, 800, 600);
count = drm_add_modes_noedid(connector, 1024, 768);
if (!count)
return 0;
}
Expand Down

0 comments on commit 9632b41

Please sign in to comment.