diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2009-12-04 16:44:18 +0100 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2009-12-04 16:50:26 +0100 |
commit | 6f1db18f148b9014af80abe0524827f1cb3ec013 (patch) | |
tree | d3968800ec77770d4f6536045b32b5f6ac31761d /src/gallium/winsys/drm/vmware/xorg | |
parent | 124f4bc97712acfe7d08807b013a101a4d6276e1 (diff) |
vmware/xorg: Also stop ports on close
Diffstat (limited to 'src/gallium/winsys/drm/vmware/xorg')
-rw-r--r-- | 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 ef1e2f1e73..b99bb2f7e3 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 */ |