Files
nixos-hardware/common/gpu/amd/default.nix
T
r-vdp 9408ef97db common/gpu/amd: add hardware.amdgpu.dcDebugMask options
This allows to combine several such options to get the right
hex value without any repeated kernel params.
Before this, the framework AI 300 got both 0x10 and 0x410 on
the cmdline with the order depending on the module system eval
order.

This also allows users to re-enable PSR on framework machines.
2026-08-17 10:48:17 +02:00

17 lines
310 B
Nix

{ lib, ... }:
{
imports = [ ./dc-debug-mask.nix ];
config = {
services.xserver.videoDrivers = lib.mkDefault [ "modesetting" ];
hardware.graphics = {
enable = lib.mkDefault true;
enable32Bit = lib.mkDefault true;
};
hardware.amdgpu.initrd.enable = lib.mkDefault true;
};
}