drm/amdgpu: Prefer default discovery offset
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 13 Jul 2026 11:04:24 +0000 (16:34 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2026 13:24:43 +0000 (09:24 -0400)
commit46a0df99a0b2fa2fa61d864b04b6a5d5fe748779
tree8768e0ecec2f10db37a3b5d83cbba4ba51774911
parent55973143dc7ac647200dd733c407ef824b4bef81
drm/amdgpu: Prefer default discovery offset

If a valid signature is seen at the default offset, use the default
size/offset for discovery.

Fixes: 01bdc7e219c4 ("drm/amdgpu: New interface to get IP discovery binary v3")
Closes: https://gitlab.freedesktop.org/drm/amd/-/work_items/5447
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c