summaryrefslogtreecommitdiff
path: root/hosts/toaster/amdgpu-sg-fix.nix
diff options
context:
space:
mode:
authorGrigory Shipunov2023-05-03 23:10:15 +0200
committerGrigory Shipunov2023-05-03 23:10:15 +0200
commit68c3f4559b8e1344186d2002eec785d0e3ea666d (patch)
tree5e714cd9d473e33c14147006c3ecb0e778f1c75e /hosts/toaster/amdgpu-sg-fix.nix
parent324967112ecd42e2b3c4fdd49833322d4358248a (diff)
workaround amdgpu bug
Diffstat (limited to 'hosts/toaster/amdgpu-sg-fix.nix')
-rw-r--r--hosts/toaster/amdgpu-sg-fix.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/toaster/amdgpu-sg-fix.nix b/hosts/toaster/amdgpu-sg-fix.nix
new file mode 100644
index 0000000..b67bd57
--- /dev/null
+++ b/hosts/toaster/amdgpu-sg-fix.nix
@@ -0,0 +1,4 @@
+{ ... }:
+{
+ boot.kernelParams = [ "amdgpu.sg_display=0" ];
+}