]> 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)
commitaf7c277f466e27845cf734524c19743b38224606
tree24e8fc1593ec5a7bbd2ebbe55d5aac6e27dcb153
parente260d6c1b1a642b13be5a95e4a6684e22f593adb
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