]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/discovery: fix fw based ip discovery
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Jul 2025 15:16:05 +0000 (11:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Aug 2025 18:32:38 +0000 (14:32 -0400)
commit62eedd150fa11aefc2d377fc746633fdb1baeb55
tree3aa7538532667918743cc30b75cd47cd5a62f0b3
parent9d693917949122e2018d7d1377327557f708101b
drm/amdgpu/discovery: fix fw based ip discovery

We only need the fw based discovery table for sysfs.  No
need to parse it.  Additionally parsing some of the board
specific tables may result in incorrect data on some boards.
just load the binary and don't parse it on those boards.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4441
Fixes: 80a0e8282933 ("drm/amdgpu/discovery: optionally use fw based ip discovery")
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c