]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Use version to figure out harvest info
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 28 Jan 2025 06:09:13 +0000 (11:39 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Feb 2025 02:03:00 +0000 (21:03 -0500)
commita01e934242f37b52e498958462a04f8ac30b4d66
tree9d8054a6dfe268e10c9c642c5b3cded6750baea3
parent31f9ed58827f682ff00c70ef482442149603a16c
drm/amdgpu: Use version to figure out harvest info

IP tables with version <=2 may use harvest bit. For version 3 and above,
harvest bit is not applicable, instead uses harvest table. Fix the
logic accordingly.

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