Skip to content

Commit 5427e32

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. 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>
1 parent 93c1963 commit 5427e32

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
@@ -2665,6 +2665,8 @@ static int amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev)
26652665
chip_name = "navi12";
26662666
break;
26672667
case CHIP_CYAN_SKILLFISH:
2668+
if (adev->discovery.bin)
2669+
return 0;
26682670
chip_name = "cyan_skillfish";
26692671
break;
26702672
}

0 commit comments

Comments
 (0)