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>
Thu, 16 Dec 2021 19:08:20 +0000 (14:08 -0500)
commit0cd7f378b0927e10774981eb09e388258ca925e0
treedcbe19f62c43ded9207833c3a77208af2681db36
parent799dce6fbd5fda21d461b56b8c6ca85214e20076
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
drivers/gpu/drm/amd/include/discovery.h