vmware/xorg: Also stop ports on close

This commit is contained in:
Jakob Bornecrantz 2009-12-04 16:44:18 +01:00
parent 124f4bc977
commit 6f1db18f14
1 changed files with 2 additions and 1 deletions

View File

@ -346,7 +346,8 @@ vmw_video_close(ScrnInfoPtr pScrn, struct vmw_driver *vmw)
return TRUE;
for (i = 0; i < VMWARE_VID_NUM_PORTS; ++i) {
vmw_video_port_cleanup(pScrn, &video->port[i]);
/* make sure the port is stoped as well */
vmw_xv_stop_video(pScrn, &video->port[i], TRUE);
}
/* XXX: I'm sure this function is missing code for turning off Xv */