feat: add amdgpu power profile service
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user