From 00c1aa5694218685273355e2a02d6327524cf0c3 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Wed, 12 Feb 2020 01:53:06 +1100 Subject: [PATCH] nouveau-pstate.service --- etc/systemd/system/nouveau-pstate.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 etc/systemd/system/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 -- 2.39.2