summaryrefslogtreecommitdiff
path: root/src/i830_modes.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2006-08-02 20:47:12 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2006-08-02 20:47:12 -0400
commite5c572f841b626b8b6f21a6966a33956d3b0b35b (patch)
tree3990689b4dcfa2841bb1adf3f58bff64cbf8e18c /src/i830_modes.c
parenta6d438ebe3cf141a0331e0cd55eb9b5e137a5e37 (diff)
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.
Diffstat (limited to 'src/i830_modes.c')
-rw-r--r--src/i830_modes.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/i830_modes.c b/src/i830_modes.c
index 1c5e7eb4..6bff1d0a 100644
--- a/src/i830_modes.c
+++ b/src/i830_modes.c
@@ -638,10 +638,6 @@ i830GetDDCMonitor(ScrnInfoPtr pScrn, I2CBusPtr pDDCBus)
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);