aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include/amd_shared.h
diff options
context:
space:
mode:
authorYongqiang Sun <yongqiang.sun@amd.com>2022-03-30 10:48:19 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-04-07 16:38:53 -0400
commit49aa98ca30cd186ab33fc5802066e2024d3bfa39 (patch)
treeecdd78ec7af9c13cb4274b22ef40c442e2d7f1e8 /drivers/gpu/drm/amd/include/amd_shared.h
parentdrm/amdkfd: Fix NULL pointer dereference (diff)
downloadlinux-dev-49aa98ca30cd186ab33fc5802066e2024d3bfa39.tar.xz
linux-dev-49aa98ca30cd186ab33fc5802066e2024d3bfa39.zip
drm/amd/amdgpu: Only reserve vram for firmware with vega9 MS_HYPERV host.
driver loading failed on VEGA10 SRIOV VF with linux host due to a wide range of stolen reserved vram. Since VEGA10 SRIOV VF need to reserve vram for firmware with windows Hyper_V host specifically, check hypervisor type to only reserve memory for it, and the range of the reserved vram can be limited to between 5M-7M area. Fixes: faad5ccac1eaae ("drm/amdgpu: Add stolen reserved memory for MI25 SRIOV.") Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/amd_shared.h')
0 files changed, 0 insertions, 0 deletions