feat: add amdgpu power profile service

This commit is contained in:
Oscar Wallberg
2024-10-31 19:18:54 +01:00
parent 3fa59bd2b7
commit b900cb788f
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Apply AMDGPU power profile
[Service]
Type=oneshot
ExecStart=sh -c 'echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_level'
ExecStart=sh -c 'echo "1" > /sys/class/drm/card0/device/pp_power_profile_mode'
[Install]
WantedBy=multi-user.target