Commit d48221f3 authored by Ken Wang's avatar Ken Wang Committed by Greg Kroah-Hartman

drm/amdgpu: Remove check which is not valid for certain VBIOS

commit ab6613b7 upstream.

Fixes vbios fetching on certain headless boards.
Signed-off-by: default avatarKen Wang <>
Acked-by: default avatarAlex Deucher <>
Signed-off-by: default avatarAlex Deucher <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent ecd08e68
......@@ -59,12 +59,6 @@ static bool check_atom_bios(uint8_t *bios, size_t size)
return false;
tmp = bios[0x18] | (bios[0x19] << 8);
if (bios[tmp + 0x14] != 0x0) {
DRM_INFO("Not an x86 BIOS ROM\n");
return false;
bios_header_start = bios[0x48] | (bios[0x49] << 8);
if (!bios_header_start) {
DRM_INFO("Can't locate bios header\n");
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment