[PATCH] xf86-video-geode: set the default dcon mode as PREFERRED
Andres Salomon
dilinger at queued.net
Sat Nov 15 18:09:42 PST 2008
1200x900 is the preferred mode for the DCON, so set the M_T_PREFERRED
flag. At least for my tests, this causes the proper mode to be defaulted
to (rather than 1024x768). This is against git HEAD.
Signed-off-by: Andres Salomon <dilinger at debian.org>
---
src/geode_dcon.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/geode_dcon.c b/src/geode_dcon.c
index b7fba00..0baa178 100644
--- a/src/geode_dcon.c
+++ b/src/geode_dcon.c
@@ -103,7 +103,7 @@ dcon_init(ScrnInfoPtr pScrni)
/* Set up the panel mode structure automagically */
- pGeode->panelMode->type = M_T_DRIVER;
+ pGeode->panelMode->type = M_T_DRIVER|M_T_PREFERRED;
pGeode->panelMode->Clock = 57275;
pGeode->panelMode->HDisplay = 1200;
pGeode->panelMode->HSyncStart = 1208;
--
1.5.6.5
More information about the xorg
mailing list