1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-16 07:59:41 +01:00
nixos-hardware/lenovo/thinkpad/e14/amd/default.nix
2022-12-31 11:57:44 +01:00

18 lines
558 B
Nix

{
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.
"iommu=soft"
];
}