From 5961189f4e6d345651b04c547fbd1439379c6f33 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Tue, 2 Apr 2019 12:44:11 +0200 Subject: 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 --- src/gallium/winsys/svga/drm/vmw_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/winsys') 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; -- cgit v1.2.3