]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f32a00bc1a74f2ca7998c0c379c6a1698606511
tree24e8fc1593ec5a7bbd2ebbe55d5aac6e27dcb153
parent12ebcfd7c9276bb01d77cad2ef7dc216b9608763
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