]> Gentwo Git Trees - linux/.git/commitdiff
drm/amdgpu: fix cyan_skillfish2 gpu info fw handling
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Nov 2025 14:40:31 +0000 (09:40 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Nov 2025 16:50:43 +0000 (11:50 -0500)
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: fa819e3a7c1e ("drm/amdgpu: add support for cyan skillfish gpu_info")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index a7594ae44b209e7c61bc5689896ab7ef723de70f..a1817b4b51734d091e0e13bc49c4cb0bd098e71d 100644 (file)
@@ -2665,6 +2665,8 @@ static int amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev)
                chip_name = "navi12";
                break;
        case CHIP_CYAN_SKILLFISH:
+               if (adev->discovery.bin)
+                       return 0;
                chip_name = "cyan_skillfish";
                break;
        }