]> err.no Git - linux-2.6/commitdiff
intelfb: use regular modedb table instead of VESA
authorDennis Munsie <dmunsie@cecropia.com>
Mon, 29 May 2006 08:58:09 +0000 (18:58 +1000)
committerDave Airlie <airlied@linux.ie>
Mon, 29 May 2006 08:58:09 +0000 (18:58 +1000)
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>
drivers/video/intelfb/intelfbdrv.c

index dfe2abc63aad8b4a4e60d571d18a3a0feb2928f6..85bf55897f77209e57aea6969b50435efcf30c40 100644 (file)
@@ -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);
                }
        }