Skip to content

Instantly share code, notes, and snippets.

@neofob
Created November 26, 2018 00:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neofob/59f4caf83a1898ae981d9456f0e43ec5 to your computer and use it in GitHub Desktop.
Save neofob/59f4caf83a1898ae981d9456f0e43ec5 to your computer and use it in GitHub Desktop.
Setting AMD power profile
#!/bin/sh
# ref: https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-Quick-WattMan-Cap-Test
echo manual > /sys/class/drm/card0/device/power_dpm_force_performance_level
echo 4 > /sys/class/drm/card0/device/pp_power_profile_mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment