summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-12-04 16:44:18 +0100
committerJakob Bornecrantz <[email protected]>2009-12-04 16:50:26 +0100
commit6f1db18f148b9014af80abe0524827f1cb3ec013 (patch)
treed3968800ec77770d4f6536045b32b5f6ac31761d /src/gallium/winsys
parent124f4bc97712acfe7d08807b013a101a4d6276e1 (diff)
vmware/xorg: Also stop ports on close
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/drm/vmware/xorg/vmw_video.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/vmware/xorg/vmw_video.c b/src/gallium/winsys/drm/vmware/xorg/vmw_video.c
index ef1e2f1e731..b99bb2f7e34 100644
--- a/src/gallium/winsys/drm/vmware/xorg/vmw_video.c
+++ b/src/gallium/winsys/drm/vmware/xorg/vmw_video.c
@@ -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 */