summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-01-29 09:53:58 -0800
committerEric Anholt <eric@anholt.net>2007-01-29 09:53:58 -0800
commit67c6a490e63f6997f8198bc3ab180a1af097fe86 (patch)
tree8afe35849dc9d2629ad495a6c7849038e2c37b45
parent89ace3e81fe72075b1709b073c05532f13b7f0d1 (diff)
Remove dead code to undo the damage of xf86SetModeCrtc() blank limiting.
-rw-r--r--src/i830_driver.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 43f47252..32729c17 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -1600,25 +1600,6 @@ I830PreInit(ScrnInfoPtr pScrn, int flags)
PreInitCleanup(pScrn);
return FALSE;
}
-
- /*
- * Fix up modes to make hblank start at hsync start.
- * I don't know why the xf86 code mangles this...
- */
- {
- DisplayModePtr p;
-
- for (p = pScrn->modes; p;) {
- xf86DrvMsg (pScrn->scrnIndex,
- X_INFO, "move blank start from %d to %d\n",
- p->CrtcHBlankStart, p->CrtcHDisplay);
- p->CrtcHBlankStart = p->CrtcHDisplay;
- p = p->next;
- if (p == pScrn->modes)
- break;
- }
- }
-
pScrn->currentMode = pScrn->modes;
pI830->disableTiling = FALSE;