drm/amdgpu: add support for IP discovery gc_info table v2
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Dec 2021 03:13:56 +0000 (22:13 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Dec 2021 17:47:29 +0000 (12:47 -0500)
commit5e713c6afa34c0fd6f113bf7bb1c2847172d7b20
treee78255196eedf3e4318d1600b61aa06feb660080
parentb7865173cf6ae59942e2c69326a06e1c1df5ecf6
drm/amdgpu: add support for IP discovery gc_info table v2

Used on gfx9 based systems. Fixes incorrect CU counts reported
in the kernel log.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1833
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
drivers/gpu/drm/amd/include/discovery.h