diff --git a/hosts/TITAN/hardware-configuration.nix b/hosts/TITAN/hardware-configuration.nix index 1674d20..614442d 100644 --- a/hosts/TITAN/hardware-configuration.nix +++ b/hosts/TITAN/hardware-configuration.nix @@ -17,6 +17,8 @@ "dm_persistent_data" "dm_bio_prison" "dm_bufio" + "amdgpu" + "ddcci_backlight" ]; boot.initrd.kernelModules = [ "dm_cache" ]; boot.kernelModules = [ "kvm-amd" ]; diff --git a/patches/kmods/ddcci-driver/global-control-device.patch b/patches/kmods/ddcci-driver/global-control-device.patch index 27dcf66..45d3f59 100644 --- a/patches/kmods/ddcci-driver/global-control-device.patch +++ b/patches/kmods/ddcci-driver/global-control-device.patch @@ -68,7 +68,7 @@ index 7a98522..e518bfc 100644 + if (ddcci_bl_global_control == NULL) { + printk(KERN_INFO "ddcci-backlight: registering global controller with brightness=%d, max_brightness=%d\n", + brightness, max_brightness); -+ cprops.type = BACKLIGHT_RAW; ++ cprops.type = BACKLIGHT_FIRMWARE; + cprops.max_brightness = max_brightness; + cprops.brightness = brightness; + ddcci_bl_global_control = devm_backlight_device_register(&dev->dev, "0000-ddcci_backlight_global_control",