History

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.

Anthoine Bourgeois committed 5 years ago

Commit c1209601 parent 7efb5f31 file · +4 −0Browse files

Unified · Split

include/uapi/linux/virtio_gpu.h+4−0
@@ -115,6 +115,10 @@ enum virtio_gpu_ctrl_type { · 114 unmodified lines
115115
116116 enum virtio_gpu_shm_id {
117117 VIRTIO_GPU_SHM_ID_UNDEFINED = 0,
118+ /*
119+ * VIRTIO_GPU_CMD_RESOURCE_MAP_BLOB
120+ * VIRTIO_GPU_CMD_RESOURCE_UNMAP_BLOB
121+ */
118122 VIRTIO_GPU_SHM_ID_HOST_VISIBLE = 1
119123 };
120124