added forced enabling Vsync (again) to stop_tv_out: just to be absolutely sure.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14517 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2005-10-25 15:43:12 +00:00
parent 6de3877ad5
commit 82f3114509

View File

@ -1651,13 +1651,16 @@ status_t BT_stop_tvout(void)
/* enable access to primary head */
set_crtc_owner(0);
/* just to be sure Vsync is _really_ enabled */
CRTCW(REPAINT1, (CRTCR(REPAINT1) & 0xbf));
/* wait for one image to be generated to make sure VGA has kicked in and is
* running OK before continuing...
* (Kicking in will fail often if we do not wait here) */
/* Note:
* The used CRTC's Vsync is required to be enabled here. The DPMS state
* programming in the driver makes sure this is the case. */
* programming in the driver makes sure this is the case.
* (except for driver startup: see nv_general.c.) */
/* make sure we are 'in' active VGA picture */
while (NV_REG8(NV8_INSTAT1) & 0x08) snooze(1);