virgl: add protocol for resource transfers
authorGurchetan Singh <gurchetansingh@chromium.org>
Mon, 19 Nov 2018 18:28:26 +0000 (10:28 -0800)
committerGert Wollny <gert.wollny@collabora.com>
Fri, 15 Feb 2019 10:19:05 +0000 (11:19 +0100)
commit0fcd48bac51f344b805e9cdc32156b0a8efdbba0
tree84cf03ebafb74e3f06908e8757dcac8e7f161437
parent168c3ffce34e8c0f81d6bf32da82c0b5427f5c89
virgl: add protocol for resource transfers

Mostly similar to VIRGL_CCMD_RESOURCE_INLINE_WRITE.  However, this
uses the resource's already attached iovecs rather than the command
buffer to transfer the data.

v2: Used (1 << 16) not (1 << 15) [@gerddie]
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
src/gallium/drivers/virgl/virgl_hw.h
src/gallium/drivers/virgl/virgl_protocol.h