drm/amd/pm: expose swctf threshold setting for legacy powerplay

commit 064329c595 upstream.

Preparation for coming optimization which eliminates the influence of
GPU temperature momentary fluctuation.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Evan Quan 2023-05-25 10:30:39 +08:00 • committed by Greg Kroah-Hartman
commit a4e94b8816
7 changed files with 26 additions and 1 deletions