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 14:37:32 +0000 (10:37 -0400)
commit73eab78721f7b85216f1ca8c7b732f13213b5b32
tree7791c1a953230a614d3a99c61c8913a685b6968b
parent99579c55c3d6132a5236926652c0a72a526b809d
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>
(cherry picked from commit 49f1f9f6c3c9febf8ba93f94a8d9c8d03e1ea0a1)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c