]> www.infradead.org Git - users/hch/configfs.git/commit
drm/amdgpu: Reorder to read EFI exported ROM first
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 12 Aug 2024 03:32:57 +0000 (09:02 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Aug 2024 16:12:52 +0000 (12:12 -0400)
commit9c081c11c62112f1c30ff2426f755279a43fa1a1
tree7c4356dd02a811a10b19ebefcda980d07b9b2564
parente69c2dd7534f3fcabf7bb801db2a7ac71e7e5da6
drm/amdgpu: Reorder to read EFI exported ROM first

On EFI BIOSes, PCI ROM may be exported through EFI_PCI_IO_PROTOCOL and
expansion ROM BARs may not be enabled. Choose to read from EFI exported
ROM data before reading PCI Expansion ROM BAR.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@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_bios.c