]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd: Adjust output for discovery error handling
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 17 Jun 2025 18:30:52 +0000 (13:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Jun 2025 13:58:35 +0000 (09:58 -0400)
commit49f1f9f6c3c9febf8ba93f94a8d9c8d03e1ea0a1
tree3ef9b68ac8a53ad8b779284e4fd896fcdebd9af4
parent389153ef119dc116da909aaa8ae261494093f24a
drm/amd: Adjust output for discovery error handling

commit 017fbb6690c2 ("drm/amdgpu/discovery: check ip_discovery fw file
available") added support for reading an amdgpu IP discovery bin file
for some specific products. If it's not found then it will fallback to
hardcoded values. However if it's not found there is also a lot of noise
about missing files and errors.

Adjust the error handling to decrease most messages to DEBUG and to show
users less about missing files.

Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reported-by: Marcus Seyfarth <m.seyfarth@gmail.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4312
Tested-by: Marcus Seyfarth <m.seyfarth@gmail.com>
Fixes: 017fbb6690c2 ("drm/amdgpu/discovery: check ip_discovery fw file available")
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://lore.kernel.org/r/20250617183052.1692059-1-superm1@kernel.org
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c