xserver-kdrive: patch for supporting 800x480 video modes.
authorFlorian Boor <florian.boor@kernelconcepts.de>
Fri, 29 May 2009 10:18:21 +0000 (12:18 +0200)
committerFlorian Boor <florian.boor@kernelconcepts.de>
Fri, 29 May 2009 10:43:20 +0000 (12:43 +0200)
recipes/xorg-xserver/xserver-kdrive-common.inc
recipes/xorg-xserver/xserver-kdrive/kmode-800_480.patch [new file with mode: 0644]
recipes/xorg-xserver/xserver-kdrive_1.4.0.90.bb

index dadfbbb..bcd3d68 100644 (file)
@@ -73,6 +73,7 @@ SRC_URI ?= "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
        ${KDRIVE_COMMON_PATCHES}"
 KDRIVE_COMMON_PATCHES = " \
        file://kmode.patch;patch=1 \
+       file://kmode-800_480.patch;patch=1 \
        file://disable-apm.patch;patch=1 \
        file://no-serial-probing.patch;patch=1 \
        file://fbdev-not-fix.patch;patch=1  \
diff --git a/recipes/xorg-xserver/xserver-kdrive/kmode-800_480.patch b/recipes/xorg-xserver/xserver-kdrive/kmode-800_480.patch
new file mode 100644 (file)
index 0000000..61c2ec4
--- /dev/null
@@ -0,0 +1,24 @@
+--- a/hw/kdrive/src/kmode.c~   2009-05-28 16:30:24.000000000 +0200
++++ b/hw/kdrive/src/kmode.c    2009-05-28 16:30:24.000000000 +0200
+@@ -112,10 +112,18 @@
+     },
+-  {   480,    640,    60,     0,                      /* VESA */
+-               0,      0,     0,    KdSyncNegative, /* 31.469 */
++    {   480,    640,    60,     0,                      /* VESA */
++                0,      0,     0,    KdSyncNegative, /* 31.469 */
+                0,      0,     0,     KdSyncNegative, /* 59.940 */
+-   },
++    },
++    {   800,    480,    51,     0,
++              0,      0,     0,    KdSyncNegative,
++              0,      0,     0,     KdSyncNegative,
++    },
++    {   480,    800,    51,     0,
++              0,      0,     0,    KdSyncNegative,
++              0,      0,     0,     KdSyncNegative,
++    },
+   
+     
+     /* 800x600 modes */
index 70503d7..fe0335d 100644 (file)
@@ -4,7 +4,7 @@ DEPENDS += "hal libxkbfile libxcalibrate pixman"
 RDEPENDS += "hal"
 
 PE = "1"
-PR = "r5"
+PR = "r6"
 
 SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \
        ${KDRIVE_COMMON_PATCHES} \