]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cpufreq/amd-pstate-ut: Add test case for mode switches
authorMario Limonciello <mario.limonciello@amd.com>
Sun, 1 Sep 2024 02:49:12 +0000 (21:49 -0500)
committerMario Limonciello <mario.limonciello@amd.com>
Wed, 11 Sep 2024 15:34:23 +0000 (10:34 -0500)
commit3e39e68dfbb6d4fe8c1943003d2f2a6f3255c902
tree26d285aab22c6c55159e4d2f400ed7d246fccab2
parent8d916815b0afad2a12a9f1b945c79fffc144dba8
cpufreq/amd-pstate-ut: Add test case for mode switches

There is a state machine in the amd-pstate driver utilized for
switches for all modes. To make sure that cleanup and setup works
properly for each mode add a unit test case that tries all
combinations.

Reviewed-by: Perry Yuan <perry.yuan@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate-ut.c