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 <[EMAIL PROTECTED]>
---
 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

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to