drm/amd/pm: Add reset option for fan_curve on smu13_0_0
authorMa Jun <Jun.Ma2@amd.com>
Thu, 7 Sep 2023 07:33:12 +0000 (15:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2023 21:00:21 +0000 (17:00 -0400)
commitf7f9e48fa8d53159b6d27d2a809031c7718a305d
treee31bf5ff15af99926fea5987d8b5b032b15166b8
parent072ae240cd113978657037f3fb701e9efaf6da9b
drm/amd/pm: Add reset option for fan_curve on smu13_0_0

Add reset option for fan_curve.
User can use command "echo r > fan_cure" to reset the fan_curve
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