Commit c1209608 authored by Anthoine Bourgeois's avatar Anthoine Bourgeois Committed by Gerd Hoffmann
Browse files

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: default avatarAnthoine Bourgeois <anthoine.bourgeois@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20201119010809.528-3-gurchetansingh@chromium.org


Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 7efb5f38
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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
};