From c4951e0a6b6cf3eeee710cc5cda1d9bc929ee3d7 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 10 Aug 2006 20:49:06 -0400 Subject: [PATCH] Fix a mode sanity check to not break reduced-blanking setups (LCDs). --- hw/xfree86/common/xf86Mode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/common/xf86Mode.c b/hw/xfree86/common/xf86Mode.c index b892e3e6a..72dd1cabb 100644 --- a/hw/xfree86/common/xf86Mode.c +++ b/hw/xfree86/common/xf86Mode.c @@ -1758,7 +1758,8 @@ xf86ValidateModes(ScrnInfoPtr scrp, DisplayModePtr availModes, * horizontal timing parameters that CRTs may have * problems with. */ - if ((q->type & M_T_DEFAULT) && + if (!scrp->monitor->reducedblanking && + (q->type & M_T_DEFAULT) && ((double)q->HTotal / (double)q->HDisplay) < 1.15) continue;