]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amdgpu/bios: split vbios fetching between APU and dGPU
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2024 20:22:01 +0000 (16:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Sep 2024 20:15:09 +0000 (16:15 -0400)
commit375b035f689735fd7a87ff31ccac3a42717252bf
tree4d7fbfeaa0514677fb883c26e8f39764d5f2ff83
parentf2be7b39e43893ab5361115de2b95e7c5c86f190
drm/amdgpu/bios: split vbios fetching between APU and dGPU

We need some different logic for dGPUs and the APU path
can be simplified because there are some methods which
are never used on APUs.  This also fixes a regression
on some older APUs causing the driver to fetch the
unpatched ROM image rather than the patched image.

Fixes: 9c081c11c621 ("drm/amdgpu: Reorder to read EFI exported ROM first")
Reviewed-by: George Zhang <George.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c