virgl: Add copy_transfer3d definitions
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Tue, 14 May 2019 09:38:24 +0000 (12:38 +0300)
committerChia-I Wu <olvaffe@gmail.com>
Sat, 8 Jun 2019 04:45:34 +0000 (21:45 -0700)
commit199d95f29ed0177bab77c7d348a88e26cd4d23c0
treecfec8a64cac471214ceb881f2e380d5fd1d4d5b9
parentccec1555c154a9c11b61127671c30553096856c8
virgl: Add copy_transfer3d definitions

Introduce definitions for the copy_transfer3d protocol command and virgl
capability. This command transfers data to the host by copying through
another resource, and will be used in upcoming commits to avoid waiting
when transferring data for busy resources.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/drivers/virgl/virgl_hw.h
src/gallium/drivers/virgl/virgl_protocol.h