drm/amd/pm: Add u64 throttler status field to gpu_metrics
authorGraham Sider <Graham.Sider@amd.com>
Thu, 3 Jun 2021 14:49:35 +0000 (10:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 10 Jun 2021 15:44:25 +0000 (11:44 -0400)
commit22a7dcf58059f6d89fb7e2393c0ddc48c7d06266
treefea00e6e1a93efd42c6640d687bfaa9a58c7aea8
parent2a9a151fe852c1da39914221dd25238d60b09a93
drm/amd/pm: Add u64 throttler status field to gpu_metrics

This patch set adds support for a new ASIC independant u64 throttler
status field (indep_throttle_status). Piggybacks off the
gpu_metrics_v1_3 bump and similarly bumps gpu_metrics_v2 version (to
v2_2) to add field.

Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/kgd_pp_interface.h
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c