---
 src/via_lvds.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/via_lvds.c b/src/via_lvds.c
index d7d8225..e4e5cdf 100644
--- a/src/via_lvds.c
+++ b/src/via_lvds.c
@@ -1301,6 +1301,14 @@ via_lvds_detect(xf86OutputPtr output)
     VIAPtr pVia = VIAPTR(pScrn);
     vgaHWPtr hwp = VGAHWPTR(pScrn);
+    /* Hardcode panel size for the XO */
+    if (pVia->Id->String == "OLPC XO 1.5") {
+        panel->NativeWidth = 1200;
+        panel->NativeHeight = 900;
+        status = XF86OutputStatusConnected;
+        return status;
+    }
+
     if (!pVia->UseLegacyModeSwitch) {
         /* First try to get the mode from EDID. */
         if (!panel->NativeWidth || !panel->NativeHeight) {
-- 
1.8.1.2

_______________________________________________
Openchrome-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/openchrome-devel

Reply via email to