improve structure; move stuff to relevant folders
This commit is contained in:
13
scripts/gpu/amd-gpu-performance.service
Normal file
13
scripts/gpu/amd-gpu-performance.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=AMD GPU High Performance Mode
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/bash -c 'echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level'
|
||||
ExecStart=/bin/bash -c 'echo 2 > /sys/class/drm/card0/device/pp_dpm_sclk'
|
||||
ExecStart=/bin/bash -c 'echo 3 > /sys/class/drm/card0/device/pp_dpm_mclk'
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user