diff mbox series

virtio: Add hsakmt capset definition

Message ID 20241206065029.2386702-1-honglei1.huang@amd.com (mailing list archive)
State New, archived
Headers show
Series virtio: Add hsakmt capset definition | expand

Commit Message

Honglei Huang Dec. 6, 2024, 6:50 a.m. UTC
From: Honglei Huang <Honglei1.Huang@amd.com>

Add libhsakmt native context capset in the VIRTIO-GPU protocol header.

Virglrenderer related patch:
https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1450
OpenCL based on libhsakmt native context patch in progress:
https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1370

Signed-off-by: Honglei Huang <Honglei1.Huang@amd.com>
---
 include/uapi/linux/virtio_gpu.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/include/uapi/linux/virtio_gpu.h b/include/uapi/linux/virtio_gpu.h
index bf2c9cabd207..183acd6c885b 100644
--- a/include/uapi/linux/virtio_gpu.h
+++ b/include/uapi/linux/virtio_gpu.h
@@ -312,6 +312,7 @@  struct virtio_gpu_cmd_submit {
 /* 3 is reserved for gfxstream */
 #define VIRTIO_GPU_CAPSET_VENUS 4
 #define VIRTIO_GPU_CAPSET_DRM 6
+#define VIRTIO_GPU_CAPSET_HSAKMT 7
 
 /* VIRTIO_GPU_CMD_GET_CAPSET_INFO */
 struct virtio_gpu_get_capset_info {