]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Fix discovery offset check under VF
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 12 May 2026 14:59:52 +0000 (20:29 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 May 2026 16:09:09 +0000 (12:09 -0400)
commit9baf02bf88a8228248c546a3be7bbe3bfe74b7d5
treec2da8079182a99e054ccf6d040c201384b357242
parentd892a6eca7a847dd57ede6e55d7494a01b43fa5f
drm/amdgpu: Fix discovery offset check under VF

Discovery table may be kept at offset 0 by host driver. Remove the
validation check.

Fixes: 01bdc7e219c4 ("drm/amdgpu: New interface to get IP discovery binary v3")
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Ellen Pan <yunru.pan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit d3f5bbd007133c64a20e81ef290a93e46c75df40)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c