[PATCH] virtio: Add hsakmt capset definition
From: Honglei Huang
Date: Fri Dec 06 2024 - 01:51:26 EST
From: Honglei Huang <Honglei1.Huang@xxxxxxx>
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@xxxxxxx>
---
include/uapi/linux/virtio_gpu.h | 1 +
1 file changed, 1 insertion(+)
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 {
--
2.34.1