> Add a new GPU capability set VIRTIO_GPU_CAPSET_ROCM to support ROCm > compute workloads in virtualized environments. > > ROCm (Radeon Open Compute) is AMD's open-source software platform for > GPU compute and HPC workloads. > > ID 7 is already used by the OpenCL capset (VIRCL), and gfxstream's > rutabaga_gfx has already claimed IDs 7-9 ahead of any spec or kernel > header update, so ROCm uses ID 10 to avoid a further collision. A > matching virtio-gpu specification change is in progress to register this > assignment. > > Also add the matching VIRTGPU_DRM_CAPSET_ROCM alias in virtgpu_drm.h for > consistency with the other capability sets exposed through > DRM_IOCTL_VIRTGPU_GET_CAPS. > > Signed-off-by: Honglei Huang <[email protected]>
Sashiko has reviewed this patch and found no issues. -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=1
