xf86-video-intel: Branch 'modesetting' - src/i830_modes.c

Adam Jackson ajax at kemper.freedesktop.org
Thu Aug 3 03:49:18 EEST 2006


 src/i830_modes.c |    4 ----
 1 files changed, 4 deletions(-)

New commits:
diff-tree e5c572f841b626b8b6f21a6966a33956d3b0b35b (from a6d438ebe3cf141a0331e0cd55eb9b5e137a5e37)
Author: Adam Jackson <ajax at benzedrine.nwnk.net>
Date:   Wed Aug 2 20:47:12 2006 -0400

    Fix a braino in mode list pruning.
    
    Interpreting the size of the display in centimeters as the size in pixels,
    and then clipping the modes list based on that, rarely does what you want.

diff --git a/src/i830_modes.c b/src/i830_modes.c
index 1c5e7eb..6bff1d0 100644
--- a/src/i830_modes.c
+++ b/src/i830_modes.c
@@ -638,10 +638,6 @@ i830GetDDCMonitor(ScrnInfoPtr pScrn, I2C
     userModes = i830DuplicateModes(pScrn, pScrn->monitor->Modes);
 
     i830xf86ValidateModesSync(pScrn, userModes, mon);
-    if (ddc->features.hsize > 0 && ddc->features.vsize > 0) {
-	i830xf86ValidateModesSize(pScrn, userModes, ddc->features.hsize,
-				  ddc->features.vsize, -1);
-    }
     i830xf86PruneInvalidModes(pScrn, &userModes, TRUE);
 
     i830AppendModes(pScrn, &mon->Modes, userModes);



More information about the xorg-commit mailing list