summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Lowery <rglowery@exemail.com.au>2008-05-20 21:09:23 +1000
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-06-12 13:53:30 +0800
commit7d9676c8cc309d42c49f82274f7dc43ab327bea3 (patch)
tree47682eada5b46d200fd580392d040d32e75499d5 /src
parent4054725c3cf0956cc1717ad8acc558203a7af40d (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. (cherry picked from commit 64a8f2433d7774d06119793b57cec6d3be6389c1) (cherry picked from commit e4e61e8c97c585993b4b69b86350b3987178a47e)
Diffstat (limited to 'src')
-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