This provides a description of how the kernel driver uses the shmid to determine capabilities.
Unified · Split
| @@ -115,6 +115,10 @@ enum virtio_gpu_ctrl_type { · 114 unmodified lines | ||
| 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 | |