aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi/linux/virtio_gpu.h
diff options
context:
space:
mode:
authorAaron Ruby <aruby@qnx.com>2025-03-27 15:25:49 +0000
committerDmitry Osipenko <dmitry.osipenko@collabora.com>2025-03-28 04:53:51 +0300
commitd499effe1d55552ac701e90fbd17ca418b2189df (patch)
tree81f123fadc893132495a58b1fd2b48ba76167461 /include/uapi/linux/virtio_gpu.h
parentdrm/bridge: anx7625: Remove redundant 'flush_workqueue()' calls (diff)
downloadwireguard-linux-d499effe1d55552ac701e90fbd17ca418b2189df.tar.xz
wireguard-linux-d499effe1d55552ac701e90fbd17ca418b2189df.zip
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. Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Signed-off-by: Aaron Ruby <aruby@qnx.com> Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> [dmitry.osipenko@collabora.com: edit commit title] Link: https://patchwork.freedesktop.org/patch/msgid/YT3PR01MB5857E808EDF6949F2DF517FDAFA12@YT3PR01MB5857.CANPRD01.PROD.OUTLOOK.COM
Diffstat (limited to 'include/uapi/linux/virtio_gpu.h')
-rw-r--r--include/uapi/linux/virtio_gpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/virtio_gpu.h b/include/uapi/linux/virtio_gpu.h
index bf2c9cabd207..be109777d10d 100644
--- a/include/uapi/linux/virtio_gpu.h
+++ b/include/uapi/linux/virtio_gpu.h
@@ -309,8 +309,9 @@ struct virtio_gpu_cmd_submit {
#define VIRTIO_GPU_CAPSET_VIRGL 1
#define VIRTIO_GPU_CAPSET_VIRGL2 2
-/* 3 is reserved for gfxstream */
+#define VIRTIO_GPU_CAPSET_GFXSTREAM_VULKAN 3
#define VIRTIO_GPU_CAPSET_VENUS 4
+#define VIRTIO_GPU_CAPSET_CROSS_DOMAIN 5
#define VIRTIO_GPU_CAPSET_DRM 6
/* VIRTIO_GPU_CMD_GET_CAPSET_INFO */