]> git.hungrycats.org Git - linux/commit
drm/amdgpu: fix vbios fetching for SR-IOV
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Sep 2024 18:17:53 +0000 (14:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Sep 2024 21:04:10 +0000 (17:04 -0400)
commita8387ddc0d15a365dd04baaa325a863d3612e020
tree2d97ae496de5254d57ff342d3db863fecb285a13
parent3cb576bc6dfb8940228b8130638860b631dd428a
drm/amdgpu: fix vbios fetching for SR-IOV

SR-IOV fetches the vbios from VRAM in some cases.
Re-enable the VRAM path for dGPUs and rename the function
to make it clear that it is not IGP specific.

Fixes: 042658d17a54 ("drm/amdgpu: clean up vbios fetching code")
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Tested-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c