]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Add SRIOV crit_region_version support
authorEllen Pan <yunru.pan@amd.com>
Tue, 7 Oct 2025 14:46:16 +0000 (09:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Oct 2025 22:27:58 +0000 (18:27 -0400)
commit6d2191d226553c86f8ea98f5e6cba13d9ef13280
treedde3335ae39b5f7221a5b9a4aa53368f70583c46
parentd88c8bec18c0ee7c65a7ecc160613118202754e2
drm/amdgpu: Add SRIOV crit_region_version support

1. Added enum amd_sriov_crit_region_version to support multi versions
2. Added logic in SRIOV mailbox to regonize crit_region version during
   req_gpu_init_data

Signed-off-by: Ellen Pan <yunru.pan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c