mirror of
https://github.com/NixOS/nixos-hardware
synced 2025-01-30 04:35:01 +01:00
gpd/pocket-4: default kernel version to 6.12 to fix amdgpu error
This commit is contained in:
parent
c2aa5756c0
commit
7659093598
1 changed files with 10 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
{ lib, pkgs, ... }:
|
||||
let inherit (lib) mkDefault;
|
||||
let inherit (lib) mkIf mkDefault;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
|
@ -11,10 +11,15 @@ in
|
|||
../../common/hidpi.nix
|
||||
];
|
||||
|
||||
boot.kernelParams = [
|
||||
# The GPD Pocket 4 uses a tablet LTPS display, that is mounted rotated 90° counter-clockwise
|
||||
"fbcon=rotate:1" "video=eDP-1:panel_orientation=right_side_up"
|
||||
];
|
||||
boot = {
|
||||
# As of kernel version 6.6.72, amdgpu throws a fatal error during init, resulting in a barely-working display
|
||||
kernelPackages = mkIf (lib.versionOlder pkgs.linux.version "6.12") pkgs.linuxPackages_latest;
|
||||
|
||||
kernelParams = [
|
||||
# The GPD Pocket 4 uses a tablet LTPS display, that is mounted rotated 90° counter-clockwise
|
||||
"fbcon=rotate:1" "video=eDP-1:panel_orientation=right_side_up"
|
||||
];
|
||||
};
|
||||
|
||||
fonts.fontconfig = {
|
||||
subpixel.rgba = "vbgr"; # Pixel order for rotated screen
|
||||
|
|
Loading…
Add table
Reference in a new issue