about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-05-13T10·43+0200
committertazjin <mail@tazj.in>2021-05-13T12·24+0000
commit3033de5792e6cbf930c211ff6319bb6fec1e5f55 (patch)
tree37edc8ff2112cbebb5f4de075067d918875574ab
parentc8ecea1032f60b86dd637295b1b02c084152bf10 (diff)
fix(yeren): Force enable ASPM in kernel parameters r/2592
This might help with the issue of devices being stuck in a slow
power-saving mode after hibernation. Dell enables this on laptops
shipping with Linux by default according to some forum posts.

Change-Id: I3d7fdb5c2ed5e24289a6c20f21d027e11b7826e5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3120
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
-rw-r--r--users/grfn/system/system/machines/yeren.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/grfn/system/system/machines/yeren.nix b/users/grfn/system/system/machines/yeren.nix
index 1bd2ea9873..e6fab6c93f 100644
--- a/users/grfn/system/system/machines/yeren.nix
+++ b/users/grfn/system/system/machines/yeren.nix
@@ -39,6 +39,7 @@
     ];
     kernelParams = [
       "i915.preliminary_hw_support=1"
+      "pcie_aspm=force"
     ];
 
     # https://bbs.archlinux.org/viewtopic.php?pid=1933643#p1933643