diff options
author | Thomas Hellstrom <[email protected]> | 2019-04-02 12:44:11 +0200 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2019-05-02 09:50:52 +0200 |
commit | 5961189f4e6d345651b04c547fbd1439379c6f33 (patch) | |
tree | 749f67a05c0db603e4646a1e6f80209fafef6868 /src/gallium/winsys/svga | |
parent | 50e58966fac906b85401b196ca0e997fc2259ecf (diff) |
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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/winsys/svga')
-rw-r--r-- | src/gallium/winsys/svga/drm/vmw_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |