2017-12-24 01:20:36 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
2016-02-10 20:50:07 +00:00
|
|
|
|
2016-02-10 22:40:17 +00:00
|
|
|
{
|
2017-12-24 23:21:05 +00:00
|
|
|
imports = [
|
|
|
|
../.
|
|
|
|
../tp-smapi.nix
|
|
|
|
../../../common/cpu/intel
|
|
|
|
];
|
2017-12-24 01:13:08 +00:00
|
|
|
|
2016-02-10 20:50:07 +00:00
|
|
|
boot = {
|
2017-12-25 21:26:29 +00:00
|
|
|
# TODO: this configuration seems to be very aggressive.
|
|
|
|
# Ask @peti if it's stable or not.
|
2016-02-10 20:50:07 +00:00
|
|
|
kernelParams = [
|
2017-12-22 02:56:28 +00:00
|
|
|
"drm.debug=0"
|
|
|
|
"drm.vblankoffdelay=1"
|
|
|
|
"i915.semaphores=1"
|
|
|
|
"i915.modeset=1"
|
|
|
|
"i915.use_mmio_flip=1"
|
|
|
|
"i915.powersave=1"
|
|
|
|
"i915.enable_ips=1"
|
|
|
|
"i915.disable_power_well=1"
|
|
|
|
"i915.enable_hangcheck=1"
|
|
|
|
"i915.enable_cmd_parser=1"
|
|
|
|
"i915.fastboot=0"
|
|
|
|
"i915.enable_ppgtt=1"
|
|
|
|
"i915.reset=0"
|
|
|
|
"i915.lvds_use_ssc=0"
|
|
|
|
"i915.enable_psr=0"
|
|
|
|
"vblank_mode=0"
|
2016-02-10 20:50:07 +00:00
|
|
|
"i915.i915_enable_rc6=1"
|
|
|
|
];
|
|
|
|
blacklistedKernelModules = [
|
|
|
|
"sierra_net" "cdc_mbim" "cdc_ncm" "btusb"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|