diff options
author | Evan Quan <evan.quan@amd.com> | 2020-05-22 15:42:40 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-05-29 13:55:07 -0400 |
commit | bcdc7c05bd2dd8fa8afbd725110d5ec3075d4b42 (patch) | |
tree | 973dd6253d0e225765bd4ced9e3b22fc8e703f0e /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 8c0bba64795fdfa89299aa160887ef3ff85c77d2 (diff) | |
download | linux-bcdc7c05bd2dd8fa8afbd725110d5ec3075d4b42.tar.bz2 |
drm/amd/powerplay: enable thermal throttling logging support V2
Currently this feature is supported on Arcturus only. PMFW will
interrupt driver the first time when thermal throttling happened
and every one second afterwards if the throttling continuing. On
receiving the 1st interrupt, driver logs it the first time. However,
if the throttling continues, the logging will be performed every
minute to avoid log flooding.
V2: simplify the implemention by ratelimited printk
Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions