From: Jakob Bornecrantz Date: Fri, 4 Dec 2009 15:44:18 +0000 (+0100) Subject: vmware/xorg: Also stop ports on close X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f1db18f148b9014af80abe0524827f1cb3ec013;p=mesa.git vmware/xorg: Also stop ports on close --- 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 */