From: James Bunton Date: Tue, 11 Feb 2020 14:53:06 +0000 (+1100) Subject: nouveau-pstate.service X-Git-Url: https://code.delx.au/monosys/commitdiff_plain/00c1aa5694218685273355e2a02d6327524cf0c3 nouveau-pstate.service --- diff --git a/etc/systemd/system/nouveau-pstate.service b/etc/systemd/system/nouveau-pstate.service new file mode 100644 index 0000000..0e139b2 --- /dev/null +++ b/etc/systemd/system/nouveau-pstate.service @@ -0,0 +1,10 @@ +[Unit] +Description=Set nouveau pstate +After=basic.target + +[Service] +Type=oneshot +ExecStart=/bin/bash -c 'echo AUTO > /sys/kernel/debug/dri/0/pstate' + +[Install] +WantedBy=basic.target