The attached patch adds the a new mode to the modedb, used by the ATI,
3Dfx, and Amiga frame buffer devices.  The new mode is the native,
slightly wide resolution of the new Apple laptops.  It isn't obvious how
popular a mode has to be before it goes into modedb.c.

-jwb
--- drivers/video/modedb.c.orig Tue Mar 13 04:20:43 2001
+++ drivers/video/modedb.c      Tue Mar 13 04:16:20 2001
@@ -91,6 +91,10 @@
        NULL, 60, 1024, 768, 15384, 168, 8, 29, 3, 144, 6,
        0, FB_VMODE_NONINTERLACED
     }, {
+       /* 1152x768 @ 55 Hz, 44.154 kHz hsync, PowerBook G4 LCD */
+        NULL, 55, 1152, 768, 15386, 126, 58, 29, 3, 136, 6,
+        0, FB_VMODE_NONINTERLACED 
+    }, {
        /* 640x480 @ 100 Hz, 53.01 kHz hsync */
        NULL, 100, 640, 480, 21834, 96, 32, 36, 8, 96, 6,
        0, FB_VMODE_NONINTERLACED

Reply via email to