fix(amd): use correct path to GPU
This commit is contained in:
@@ -3,8 +3,8 @@ Description=Apply AMDGPU power profile
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=sh -c 'echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_level'
|
ExecStart=sh -c 'echo "manual" > /sys/bus/pci/devices/0000:03:00.0/power_dpm_force_performance_level'
|
||||||
ExecStart=sh -c 'echo "1" > /sys/class/drm/card0/device/pp_power_profile_mode'
|
ExecStart=sh -c 'echo "1" > /sys/bus/pci/devices/0000:03:00.0/pp_power_profile_mode'
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Reference in New Issue
Block a user