This seems to be a feature that isn't tested well.
Too many VBE 3.0  BIOSes are incorrectly implemented.

Signed-off-by: Egbert Eich <[email protected]>
---
 src/vesa.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/vesa.c b/src/vesa.c
index b73d104..40fb408 100644
--- a/src/vesa.c
+++ b/src/vesa.c
@@ -841,8 +841,12 @@ VESAPreInit(ScrnInfoPtr pScrn, int flags)
     if (xf86ReturnOptValBool(pVesa->Options, OPTION_SHADOW_FB, TRUE)) 
        pVesa->shadowFB = TRUE;
 
-    if (xf86ReturnOptValBool(pVesa->Options, OPTION_DFLT_REFRESH, FALSE))
-       pVesa->defaultRefresh = TRUE;
+    /*
+     * Use default refresh by default. Too manu VBE 3.0
+     * BIOSes are incorrectly implemented.
+     */
+    pVesa->defaultRefresh = xf86ReturnOptValBool(pVesa->Options,
+                                                OPTION_DFLT_REFRESH, TRUE);
 
     pVesa->ModeSetClearScreen = FALSE;
     if (xf86ReturnOptValBool(pVesa->Options, OPTION_MODESET_CLEAR_SCREEN, 
-- 
1.8.1.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to