Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163956
b: refs/heads/master
c: 50fe4cf
h: refs/heads/master
v: v3
  • Loading branch information
ykzhao authored and Dave Airlie committed Sep 7, 2009
1 parent 6962ae4 commit 0e5b94e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f0fda0a47b26aba986fe65897891956c1792b526
refs/heads/master: 50fe4cfdc759fb3c0cffc3b90281efb139631fb7
7 changes: 5 additions & 2 deletions trunk/drivers/gpu/drm/drm_crtc_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,11 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,
}

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

drm_mode_connector_list_update(connector);

Expand Down

0 comments on commit 0e5b94e

Please sign in to comment.