Add VIRTIO_GPU_CAPSET_ROCM to the imported virtio_gpu.h so the device can advertise the ROCm capability set to the guest.
Signed-off-by: Honglei Huang <[email protected]> --- include/standard-headers/linux/virtio_gpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/standard-headers/linux/virtio_gpu.h b/include/standard-headers/linux/virtio_gpu.h index c67f50f56cd..976bd225875 100644 --- a/include/standard-headers/linux/virtio_gpu.h +++ b/include/standard-headers/linux/virtio_gpu.h @@ -321,6 +321,7 @@ struct virtio_gpu_cmd_submit { #define VIRTIO_GPU_CAPSET_VENUS 4 #define VIRTIO_GPU_CAPSET_CROSS_DOMAIN 5 #define VIRTIO_GPU_CAPSET_DRM 6 +#define VIRTIO_GPU_CAPSET_ROCM 10 /* VIRTIO_GPU_CMD_GET_CAPSET_INFO */ struct virtio_gpu_get_capset_info { -- 2.34.1
