winsys/svga: Enable the transfer_from_buffer GPU command for vgpu10
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 2 Apr 2019 10:44:11 +0000 (12:44 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 2 May 2019 07:50:52 +0000 (09:50 +0200)
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 <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/winsys/svga/drm/vmw_screen.c

index e122e0c9902c512136fa21e55e4f84555ae88af8..56294fec60e0dc22a973607f4c0312f0d0abc845 100644 (file)
@@ -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;