]> xenbits.xensource.com Git - seabios.git/commitdiff
geodevga: Add VP_MSR_CONFIG defines
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Mon, 1 Oct 2012 12:02:45 +0000 (14:02 +0200)
committerKevin O'Connor <kevin@koconnor.net>
Mon, 8 Oct 2012 02:04:39 +0000 (22:04 -0400)
This patch adds all needed defines to setup the wanted
output mode.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
vgasrc/geodevga.h

index 8fee0a8a6dbab60d922e19589949762b748a957f..c6b064c028bdc4ef83bc6e83d87ac76aee1ecb88 100644 (file)
 #define VP_MSR_CONFIG_GX2               0xc0002001  /* GX2 */
 #define VP_MSR_CONFIG_LX                0x48002001  /* LX */
 
+/* VP_MSR_CONFIG bits */
+#define VP_MSR_CONFIG_FMT_CRT           (0)
+#define VP_MSR_CONFIG_FMT_FP            (1 << 3)
+#define VP_MSR_CONFIG_FPC               (1 << 15)
+#define VP_MSR_CONFIG_FMT               ((1 << 3) | (1 << 4) | (1 << 5))
+
+
 /* DC REG OFFSET */
 #define DC_UNLOCK                       0x0
 #define DC_GENERAL_CFG                  0x4