[6.11-rc6] power_dpm_force_performance_level=manual doesn't stop dynamic power profile adjustments (bisected to 8f614469de248a4bc55fb07e55d5f4c340c75b11)
Brief summary of the problem:
Even after setting power_dpm_force_performance_level to manual, pp_power_profile_mode is adjusted dynamically. I can initially set it to a specific profile, but if the workload changes, the kernel will set a different profile despite setting profile_mode to manual.
Bisected to commit 8f614469de248a4bc55fb07e55d5f4c340c75b11
Additional info
The commit's summary of the status quo is outright incorrect.
The kernel doc says you need to select manual mode to adjust this, but the code only allows you to adjust it when manual mode is not selected. Remove the manual mode check.
Before the commit, you could adjust it but amdgpu would change the pp_power_profile_mode to whatever it wanted if the workload changed. Basically the same behavior as with manual after the commit.
8f614469de248a4bc55fb07e55d5f4c340c75b11 basically makes power_dpm_force_performance_level=manual be the exact same as power_dpm_force_performance_level=auto