]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: read harvest bit per IP data on legacy GPUs
authorGuchun Chen <guchun.chen@amd.com>
Fri, 18 Feb 2022 03:57:51 +0000 (11:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Feb 2022 19:52:39 +0000 (14:52 -0500)
commit624af3f31dfc1ec9786982d66f7a6168d877a68e
tree9eeb4071f54b472100b607a467a6964647ec1ec3
parent5c395d56a8c9d031e4a8825a22cb0099d7d07ff9
drm/amdgpu: read harvest bit per IP data on legacy GPUs

Based on firmware team's input, harvest table in VBIOS does
not apply well to legacy products like Navi1x, so seperate
harvest mask configuration retrieve from different places.
On legacy GPUs, scan harvest bit per IP data stuctures,
while for newer ones, still read IP harvest info from harvest
table.

v2: squash in fix to limit it to specific skus (Guchun)

Signed-off-by: Guchun Chen <guchun.chen@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