From: Thomas Hellstrom Date: Tue, 2 Apr 2019 10:44:11 +0000 (+0200) Subject: winsys/svga: Enable the transfer_from_buffer GPU command for vgpu10 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5961189f4e6d345651b04c547fbd1439379c6f33;p=mesa.git winsys/svga: Enable the transfer_from_buffer GPU command for vgpu10 We didn't have the path using this command enabled as typically we take an alternate path using DMA uploads. Emable it so that we can exercise that code-path by turning off the DMA path. Signed-off-by: Thomas Hellstrom Reviewed-by: Brian Paul --- diff --git a/src/gallium/winsys/svga/drm/vmw_screen.c b/src/gallium/winsys/svga/drm/vmw_screen.c index e122e0c9902..56294fec60e 100644 --- a/src/gallium/winsys/svga/drm/vmw_screen.c +++ b/src/gallium/winsys/svga/drm/vmw_screen.c @@ -96,6 +96,7 @@ vmw_winsys_create( int fd ) if (!vmw_ioctl_init(vws)) goto out_no_ioctl; + vws->base.have_transfer_from_buffer_cmd = vws->base.have_vgpu10; vws->fence_ops = vmw_fence_ops_create(vws); if (!vws->fence_ops) goto out_no_fence_ops;