summaryrefslogtreecommitdiff
path: root/src/i830_tv.c
diff options
context:
space:
mode:
authorRobert Lowery <rglowery@exemail.com.au>2008-05-20 21:09:23 +1000
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-06-05 21:21:17 -0700
commit64a8f2433d7774d06119793b57cec6d3be6389c1 (patch)
tree1028318f3a7341a4f8180ee2b2ae5c52fe95552d /src/i830_tv.c
parenta993a8f3ce3a2079c5b5ebaca2ec2564047d7d4e (diff)
Fix TV out connection type detection
Make sure we wait for vblank when using the TV DAC to detect the connection type. Fixes FDO bug #14000.
Diffstat (limited to 'src/i830_tv.c')
-rw-r--r--src/i830_tv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_tv.c b/src/i830_tv.c
index 6adb9f2f..2fc6199b 100644
--- a/src/i830_tv.c
+++ b/src/i830_tv.c
@@ -1303,6 +1303,7 @@ i830_tv_detect_type (xf86CrtcPtr crtc,
tv_dac = INREG(TV_DAC);
OUTREG(TV_DAC, save_tv_dac);
OUTREG(TV_CTL, save_tv_ctl);
+ i830WaitForVblank(pScrn);
}
/*
* A B C