diff options
author | Anthoine Bourgeois <[email protected]> | 2020-11-18 17:08:07 -0800 |
---|---|---|
committer | Gerd Hoffmann <[email protected]> | 2020-11-20 10:44:41 +0100 |
commit | c12096085b623024416d02db435005cdf79a71bb (patch) | |
tree | 466d24bf659eabec9cbb9f07134f56cbc303f7d2 | |
parent | 7efb5f38ac9e9694128e03e949139c78b7829e01 (diff) |
virtio-gpu api: Add a comment on VIRTIO_GPU_SHM_ID_HOST_VISIBLE
This provides a description of how the kernel driver uses the
shmid to determine capabilities.
Signed-off-by: Anthoine Bourgeois <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
-rw-r--r-- | include/uapi/linux/virtio_gpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/virtio_gpu.h b/include/uapi/linux/virtio_gpu.h index 0ec6b610402c..97523a95781d 100644 --- a/include/uapi/linux/virtio_gpu.h +++ b/include/uapi/linux/virtio_gpu.h @@ -115,6 +115,10 @@ enum virtio_gpu_ctrl_type { enum virtio_gpu_shm_id { VIRTIO_GPU_SHM_ID_UNDEFINED = 0, + /* + * VIRTIO_GPU_CMD_RESOURCE_MAP_BLOB + * VIRTIO_GPU_CMD_RESOURCE_UNMAP_BLOB + */ VIRTIO_GPU_SHM_ID_HOST_VISIBLE = 1 }; |