Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <anthoine.bourgeois@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20201119010809.528-3-gurchetansingh@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

authored by

Anthoine Bourgeois and committed by
Gerd Hoffmann
c1209608 7efb5f38

+4
+4
include/uapi/linux/virtio_gpu.h
··· 115 115 116 116 enum virtio_gpu_shm_id { 117 117 VIRTIO_GPU_SHM_ID_UNDEFINED = 0, 118 + /* 119 + * VIRTIO_GPU_CMD_RESOURCE_MAP_BLOB 120 + * VIRTIO_GPU_CMD_RESOURCE_UNMAP_BLOB 121 + */ 118 122 VIRTIO_GPU_SHM_ID_HOST_VISIBLE = 1 119 123 }; 120 124