****
sudo watch --interval '0.5' cat '/sys/kernel/debug/dri/0/amdgpu_pm_info'
****
cat '/sys/class/drm/card0/device/pp_od_clk_voltage'
7 is the highest available PSTATE for SCLK1386 is the value for SCLK for that PSTATE1155 is the voltage/VDDC for the specified SCLK for that PSTATEPSTATE is used, the GPU Core will run at 1386MHz @ 1155mVecho 's 7 1386 1155' | sudo tee '/sys/class/drm/card0/device/pp_od_clk_voltage'
2 is the highest available PSTATE for MCLK2025 is the value for MCLK for that PSTATE955 is the voltage/VDDC for the specified MCLK for that PSTATEPSTATE is used, the GPU Memory will run at 2025MHz @ 955mVecho 'm 2 2025 955' | sudo tee '/sys/class/drm/card0/device/pp_od_clk_voltage'
cat '/sys/class/drm/card0/device/pp_od_clk_voltage'
echo 'c' | sudo tee '/sys/class/drm/card0/device/pp_od_clk_voltage'
glxgears without VSync, thus allowing the GPU to enter the highest PSTATE automaticallyvblank_mode='0' glxgears
sudo watch --interval '0.5' cat '/sys/kernel/debug/dri/0/amdgpu_pm_info'
echo 'r' | sudo tee '/sys/class/drm/card0/device/pp_od_clk_voltage' && echo 'c' | sudo tee '/sys/class/drm/card0/device/pp_od_clk_voltage'
PSTATE will be manually controllableauto makes sense as the default for this?echo 'manual' | sudo tee '/sys/class/drm/card0/device/power_dpm_force_performance_level'
cat '/sys/class/drm/card0/device/power_dpm_force_performance_level'
PSTATE, or multiple to be automatically selected for SCLK based on GPU loadecho '7' | sudo tee '/sys/class/drm/card0/device/pp_dpm_sclk'
echo '5 6 7' | sudo tee '/sys/class/drm/card0/device/pp_dpm_sclk'
PSTATE, or multiple to be automatically selected for MCLK based on GPU loadecho '2' | sudo tee '/sys/class/drm/card0/device/pp_dpm_mclk'
echo '1 2' | sudo tee '/sys/class/drm/card0/device/pp_dpm_mclk'
****
cat '/sys/class/drm/card0/device/hwmon/hwmon'*'/power1_cap'
****
cat '/sys/class/drm/card0/device/hwmon/hwmon'*'/power1_cap_max'
echo "$(cat '/sys/class/drm/card0/device/hwmon/hwmon'*'/power1_cap_max')" | sudo tee '/sys/class/drm/card0/device/hwmon/hwmon'*'/power1_cap' > '/dev/null'
echo "$(cat '/sys/class/drm/card1/device/hwmon/hwmon'*'/power1_cap_max')" | sudo tee '/sys/class/drm/card1/device/hwmon/hwmon'*'/power1_cap' > '/dev/null'