]> git.itanic.dy.fi Git - linux-stable/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)
commite1dd4bbf86d5e1e6ca2eedf9ef9ac680dbdb3132
tree9eeb4071f54b472100b607a467a6964647ec1ec3
parentf141e251474d673f75e8c16dbdabeb4da3939d7e
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