1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-01 02:23:33 +02:00
nixos-hardware/lenovo/thinkpad/l14/amd/default.nix
Julian Stecklina 03eba5720a lenovo/thinkpad/l14/amd: drop workaround for old kernels
... because the latest supported NixOS runs on Linux 5.10 by
default.
2021-08-25 23:33:11 +02:00

24 lines
694 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [
../.
../../../../common/cpu/amd
../../../../common/gpu/amd
];
boot.kernelParams = [
# With BIOS version 1.12 and the IOMMU enabled, the amdgpu driver
# either crashes or is not able to attach to the GPU depending on
# the kernel version. I've seen no issues with the IOMMU disabled.
#
# BIOS version 1.13 fixes the IOMMU issues, but we leave the IOMMU
# in software mode to avoid a sad experience for those people that drew
# the short straw when they bought their laptop.
#
# Do not set iommu=off, because this will cause the SD-Card reader
# driver to kernel panic.
"iommu=soft"
];
}