]> err.no Git - linux-2.6/commitdiff
intelfb driver -- use the regular modedb table instead of the VESA
authorDennis Munsie <dmunsie@cecropia.com>
Sat, 27 May 2006 08:33:35 +0000 (18:33 +1000)
committerDave Airlie <airlied@linux.ie>
Sat, 27 May 2006 08:33:35 +0000 (18:33 +1000)
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 b92bc908335e9a44d8c77e3af5e88408771c7ae4..e1ac4651adc74ba128f8e22a1e5cc4c884387081 100644 (file)
@@ -1033,15 +1033,13 @@ intelfb_init_var(struct intelfb_info *dinfo)
        } else {
                if (mode) {
                        msrc = fb_find_mode(var, dinfo->info, mode,
-                                           vesa_modes, VESA_MODEDB_SIZE,
-                                           NULL, 0);
+                                           NULL, 0, NULL, 0);
                        if (msrc)
                                msrc |= 8;
                }
                if (!msrc) {
                        msrc = fb_find_mode(var, dinfo->info, PREFERRED_MODE,
-                                           vesa_modes, VESA_MODEDB_SIZE,
-                                           NULL, 0);
+                                           NULL, 0, NULL, 0);
                }
        }