]> git.ipfire.org Git - thirdparty/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 17:34:16 +0000 (12:34 -0500)
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: fa819e3a7c1e ("drm/amdgpu: add support for cyan skillfish gpu_info")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 5427e32fa3a0ba9a016db83877851ed277b065fb)

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

index 076bbc09f30cea9b1caa7b8ebb2b8e4529f628cd..96b6738e62526535b4334984c509e02e7ef1b979 100644 (file)
@@ -2638,6 +2638,8 @@ static int amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev)
                chip_name = "navi12";
                break;
        case CHIP_CYAN_SKILLFISH:
+               if (adev->mman.discovery_bin)
+                       return 0;
                chip_name = "cyan_skillfish";
                break;
        }