diff options
author | Dennis Munsie <dmunsie@cecropia.com> | 2006-05-27 04:33:35 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-05-27 04:33:35 -0400 |
commit | 2c47430a03bbcc3c9a623a07eca5baf92c7d20c8 (patch) | |
tree | 35eab865ff670a01e638f0584605f14d6ce68cd0 /drivers/video | |
parent | 1aecb393091d3c0787f92445420d96ef58c9782a (diff) |
intelfb driver -- use the regular modedb table instead of the VESA
modedb table. Ideally, the 9xx stride patch should be applied first, since
there are modes in the VESA table that won't work without that patch.
Signed-off-by: Dennis Munsie <dmunsie@cecropia.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/intelfb/intelfbdrv.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/intelfb/intelfbdrv.c b/drivers/video/intelfb/intelfbdrv.c index b92bc908335e..e1ac4651adc7 100644 --- a/drivers/video/intelfb/intelfbdrv.c +++ b/drivers/video/intelfb/intelfbdrv.c | |||
@@ -1033,15 +1033,13 @@ intelfb_init_var(struct intelfb_info *dinfo) | |||
1033 | } else { | 1033 | } else { |
1034 | if (mode) { | 1034 | if (mode) { |
1035 | msrc = fb_find_mode(var, dinfo->info, mode, | 1035 | msrc = fb_find_mode(var, dinfo->info, mode, |
1036 | vesa_modes, VESA_MODEDB_SIZE, | 1036 | NULL, 0, NULL, 0); |
1037 | NULL, 0); | ||
1038 | if (msrc) | 1037 | if (msrc) |
1039 | msrc |= 8; | 1038 | msrc |= 8; |
1040 | } | 1039 | } |
1041 | if (!msrc) { | 1040 | if (!msrc) { |
1042 | msrc = fb_find_mode(var, dinfo->info, PREFERRED_MODE, | 1041 | msrc = fb_find_mode(var, dinfo->info, PREFERRED_MODE, |
1043 | vesa_modes, VESA_MODEDB_SIZE, | 1042 | NULL, 0, NULL, 0); |
1044 | NULL, 0); | ||
1045 | } | 1043 | } |
1046 | } | 1044 | } |
1047 | 1045 | ||