1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-02 11:03:33 +02:00

Merge branch 'master' into 5515_early_kms

This commit is contained in:
mergify[bot] 2024-02-01 10:01:39 +00:00 committed by GitHub
commit 32dea22555
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -11,11 +11,11 @@
];
hardware.nvidia = {
# PCI-Express Runtime D3 Power Management is enabled by default on this laptop
# But it can fix screen tearing & suspend/resume screen corruption in sync mode
modesetting.enable = lib.mkDefault true;
# Enable DRM kernel mode setting
powerManagement.enable = lib.mkDefault true;
# This will also cause "PCI-Express Runtime D3 Power Management" to be enabled by default
modesetting.enable = lib.mkDefault true;
dynamicBoost.enable = true;
prime = {
amdgpuBusId = "PCI:4:0:0";

View File

@ -9,8 +9,8 @@ let
src = fetchFromGitHub {
owner = "starfive-tech";
repo = "linux";
rev = "7ccbe4604c1498e880cc63c7e8b45e3c55914d6d";
hash = "sha256-iO7tnnWYfveVbyvVZKL0dDLwONijt1n0RUD1kTkOQew=";
rev = "13eb70da2a73187c8c7aece13d23d68928aa8210";
hash = "sha256-bwB7Pc+Z+MWXPfWYdgtRGuhqjiNHLDGNCY62e4lBGvE=";
};
inherit modDirVersion kernelPatches;