summaryrefslogtreecommitdiff
path: root/drivers/video/intelfb
diff options
context:
space:
mode:
authorDennis Munsie <dmunsie@cecropia.com>2006-05-29 12:58:09 +0400
committerDave Airlie <airlied@linux.ie>2006-05-29 12:58:09 +0400
commit7a532c69c37dbb46bfd0276160e624f06552adfc (patch)
treef397e591c22fc727c0784d0754f22f4a09de476b /drivers/video/intelfb
parent56e004e5435c008728b1444b51d757da2e098976 (diff)
downloadlinux-7a532c69c37dbb46bfd0276160e624f06552adfc.tar.xz
intelfb: use regular modedb table instead of VESA
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/intelfb')
-rw-r--r--drivers/video/intelfb/intelfbdrv.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/intelfb/intelfbdrv.c b/drivers/video/intelfb/intelfbdrv.c
index dfe2abc63aad..85bf55897f77 100644
--- a/drivers/video/intelfb/intelfbdrv.c
+++ b/drivers/video/intelfb/intelfbdrv.c
@@ -1059,8 +1059,7 @@ intelfb_init_var(struct intelfb_info *dinfo)
"intelfb: looking for mode in global "
"database ");
msrc = fb_find_mode(var, dinfo->info, mode,
- vesa_modes,
- VESA_MODEDB_SIZE, NULL, 0);
+ NULL, 0, NULL, 0);
if (msrc)
msrc |= 8;
@@ -1070,8 +1069,7 @@ intelfb_init_var(struct intelfb_info *dinfo)
if (!msrc) {
msrc = fb_find_mode(var, dinfo->info, PREFERRED_MODE,
- vesa_modes, VESA_MODEDB_SIZE,
- NULL, 0);
+ NULL, 0, NULL, 0);
}
}