drm/amd/pm: Add ASIC independent throttle bits
authorGraham Sider <Graham.Sider@amd.com>
Tue, 8 Jun 2021 14:56:03 +0000 (10:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 10 Jun 2021 15:44:25 +0000 (11:44 -0400)
commit1049de4305ecc281367fc4e614c013b6c21a4d7f
tree24e8fc1593ec5a7bbd2ebbe55d5aac6e27dcb153
parent22a7dcf58059f6d89fb7e2393c0ddc48c7d06266
drm/amd/pm: Add ASIC independent throttle bits

Add new defines for thermal throttle status bits which are ASIC
independent. This bit field will be visible to userspace via
gpu_metrics alongside the previous ASIC dependent bit fields. Seperated
into four types: power throttlers (16 bits), current throttlers (16
bits), temperature (24 bits), other (8 bits).

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/pm/inc/amdgpu_smu.h