]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: simplify the code of [get|set]_activity_monitor_coeff
authorKevin Wang <kevin1.wang@amd.com>
Mon, 8 Apr 2019 08:29:49 +0000 (16:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2019 18:49:02 +0000 (13:49 -0500)
commit11bb4e40a7ab3318994d3a3ddaff73d1a5e2ddd1
treed5a5d86129c78c9e95e11aec8e705c50cd4fa139
parentabedec6ad6d1fe8b231299f96377ca7e1c02f57e
drm/amd/powerplay: simplify the code of [get|set]_activity_monitor_coeff

use smu_update_table_with_arg to replace old code logic

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c