Since the context-type additions to the virtio-gpu spec, these have been defined locally in guest user-space, and virtio-gpu backend library code. Now, these capsets have been stabilized, and should be defined in a common space, in both the virtio_gpu header, and alongside the virtgpu_drm interface that they apply to.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -309,8 +309,9 @@ struct virtio_gpu_cmd_submit { · 308 unmodified lines | ||
| 309 | 309 | |
| 310 | 310 | #define VIRTIO_GPU_CAPSET_VIRGL 1 |
| 311 | 311 | #define VIRTIO_GPU_CAPSET_VIRGL2 2 |
| 312 | −/* 3 is reserved for gfxstream */ | |
| 312 | +#define VIRTIO_GPU_CAPSET_GFXSTREAM_VULKAN 3 | |
| 313 | 313 | #define VIRTIO_GPU_CAPSET_VENUS 4 |
| 314 | +#define VIRTIO_GPU_CAPSET_CROSS_DOMAIN 5 | |
| 314 | 315 | #define VIRTIO_GPU_CAPSET_DRM 6 |
| 315 | 316 | |
| 316 | 317 | /* VIRTIO_GPU_CMD_GET_CAPSET_INFO */ |