Adding 240×320 mode in LTIB’s xorg-server

The default mode for iMX27 in LTIB is 320×240, but unfortunately it is not the best mode for the deafult (shipped with the ADS) screen.

xorg-server-1.4.2/hw/kdrive/src/kmode.c

— xorg-server-1.4.2/hw/kdrive/src/kmode.c    2009-03-30 19:26:25.000000000 -0300
+++ xorg-server-1.4.2_dev/hw/kdrive/src/kmode.c    2009-03-30 19:31:04.000000000 -0300
@@ -30,6 +30,12 @@
/*    H    V    Hz    KHz */
/*  FP        BP        BLANK   POLARITY */

+    /*  Modeline “240x320x64” modified by hamilton at theforce com br      */
+    {   240,    320,    64,     16256,
+                    17,     12,     32,     KdSyncNegative,
+                    1,      11,     14,     KdSyncNegative,
+    },
+
/* IPAQ modeline:
*
* Modeline “320×240″      5.7222 320 337 340 352   240 241 244 254”

[]’s

Hamilton Vera

  1. Leave a comment

Leave a comment