Mesa (mesa_7_7_branch): vmware/xorg: Also stop ports on close
Jakob Bornecrantz
wallbraker at kemper.freedesktop.org
Tue Dec 8 14:53:36 UTC 2009
Module: Mesa
Branch: mesa_7_7_branch
Commit: 6f1db18f148b9014af80abe0524827f1cb3ec013
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6f1db18f148b9014af80abe0524827f1cb3ec013
Author: Jakob Bornecrantz <jakob at vmware.com>
Date: Fri Dec 4 16:44:18 2009 +0100
vmware/xorg: Also stop ports on close
---
src/gallium/winsys/drm/vmware/xorg/vmw_video.c | 3 ++-
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 ef1e2f1..b99bb2f 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 */
More information about the mesa-commit
mailing list