History

drm/virtio: Add capset definitions to UAPI

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.

Aaron Ruby committed 1 year ago

Commit d499eff1 parent c1031442 files · +8 −1Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/virtio_gpu.h+2−1
@@ -309,8 +309,9 @@ struct virtio_gpu_cmd_submit { · 308 unmodified lines
309 309
310#define VIRTIO_GPU_CAPSET_VIRGL 1310#define VIRTIO_GPU_CAPSET_VIRGL 1
311#define VIRTIO_GPU_CAPSET_VIRGL2 2311#define VIRTIO_GPU_CAPSET_VIRGL2 2
312/* 3 is reserved for gfxstream */312#define VIRTIO_GPU_CAPSET_GFXSTREAM_VULKAN 3
313#define VIRTIO_GPU_CAPSET_VENUS 4313#define VIRTIO_GPU_CAPSET_VENUS 4
314#define VIRTIO_GPU_CAPSET_CROSS_DOMAIN 5
314#define VIRTIO_GPU_CAPSET_DRM 6315#define VIRTIO_GPU_CAPSET_DRM 6
315 316
316/* VIRTIO_GPU_CMD_GET_CAPSET_INFO */317/* VIRTIO_GPU_CMD_GET_CAPSET_INFO */