drm/amdgpu: Add stolen reserved memory for MI25 SRIOV.
authorYongqiang Sun <yongqiang.sun@amd.com>
Tue, 15 Mar 2022 13:43:41 +0000 (09:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Mar 2022 19:01:12 +0000 (15:01 -0400)
commitfaad5ccac1eaae584f9ac2ea66278bd137edcbe3
tree13d38091c5741a80020d1d0d7a7ba39b164c3c53
parent3f543552846b9ae47c8442af1c506207bdcc00d2
drm/amdgpu: Add stolen reserved memory for MI25 SRIOV.

MI25 SRIOV guest driver loading failed due to allocated memory overlaps
with firmware reserved area.
Allocate stolen reserved memory for MI25 SRIOV specifically to avoid the
memory overlap.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c