Skip to content

Commit 7fa666a

Browse files
committed
drm/amdgpu: fix cyan_skillfish2 gpu info fw handling
If the board supports IP discovery, we don't need to parse the gpu info firmware. Backport to 6.18. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4721 Fixes: fa819e3 ("drm/amdgpu: add support for cyan skillfish gpu_info") Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 5427e32)
1 parent b4a7f4e commit 7fa666a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2638,6 +2638,8 @@ static int amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev)
26382638
chip_name = "navi12";
26392639
break;
26402640
case CHIP_CYAN_SKILLFISH:
2641+
if (adev->mman.discovery_bin)
2642+
return 0;
26412643
chip_name = "cyan_skillfish";
26422644
break;
26432645
}

0 commit comments

Comments
 (0)