drm/amd/pm: Add reset option for fan_ctrl interfaces
authorMa Jun <Jun.Ma2@amd.com>
Wed, 13 Sep 2023 06:25:38 +0000 (14:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Oct 2023 15:27:04 +0000 (11:27 -0400)
commit1007bc36ecb15e1745533bd0c4c1050c65337bf7
treef6a152d6f63299a838edae553b3cc05676a918ea
parentc66705c5a87eebe6fb73bdb3098a0a01661e8a2c
drm/amd/pm: Add reset option for fan_ctrl interfaces

Add reset option for fan_ctrl interfaces.

For example:
User can use the "echo r > acoustic_limit_rpm_threshold" command
to reset acoustic_limit_rpm_threshold to boot value

Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c