]> code.delx.au - monosys/blobdiff - etc/systemd/system/nouveau-pstate.service
nouveau-pstate.service
[monosys] / 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 (file)
index 0000000..0e139b2
--- /dev/null
@@ -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