summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-12-06 16:50:52 -0800
committerEric Anholt <eric@anholt.net>2006-12-06 17:08:30 -0800
commitd3c21c09e3904b3d32aca7563044194b061ac2fa (patch)
tree38b454b05fff4331beb727d5f9824d046e1ee8f5
parent9c3e733aaa2068fcb0164577237ed70d177e9b5a (diff)
Remove stale i830_tv_pre_set_mode. Replaced by generic dpms hook call.
Also replaced by not spamming unrelated ADPA register. At least, it had sure better not be related.
-rw-r--r--src/i830_tv.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/i830_tv.c b/src/i830_tv.c
index 9f92ce00..b6cc2c9b 100644
--- a/src/i830_tv.c
+++ b/src/i830_tv.c
@@ -287,18 +287,6 @@ i830_tv_mode_valid(xf86OutputPtr output, DisplayModePtr pMode)
return MODE_OK;
}
-static void
-i830_tv_pre_set_mode(xf86OutputPtr output, DisplayModePtr pMode)
-{
- ScrnInfoPtr pScrn = output->scrn;
- I830Ptr pI830 = I830PTR(pScrn);
-
- /* Disable the encoder while we set up the pipe. */
- OUTREG(TV_CTL, INREG(TV_CTL) & ~TV_ENC_ENABLE);
- /* XXX match BIOS for now */
- OUTREG(ADPA, 0x40008C18);
-}
-
static const CARD32 h_luma[60] = {
0xB1403000, 0x2E203500, 0x35002E20, 0x3000B140,
0x35A0B160, 0x2DC02E80, 0xB1403480, 0xB1603000,