Commit graph

1822 commits

Author SHA1 Message Date
Luflosi 106d3fec43 framework AMD 7040: work around white screen / flickering issue on newer kernels
Fixes #817.

Updating the kernel if it is too old is already done by `common/cpu/amd/raphael/igpu.nix`, so I removed the redundant code.
2024-02-16 13:49:10 +00:00
Luflosi a377fb23dc cpu/amd/igpu: change condition to check actually used kernel version
Change condition to check actually used kernel version instead of which kernel version is the default.
Without this change, if a user changes the kernel version to a newer version, the kernel parameter will not actually be added.
2024-02-16 13:49:10 +00:00
Ganga Ram f1b2f71c86 Update repository path for nxp/imx
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2024-02-13 16:36:44 +00:00
Cryolitia 2b68ccd747 gpd-win-max-2-2023: enable iio subsystem 2024-02-13 10:56:22 +00:00
Cryolitia c1db24a14b gpd-win-max-2-2023: init BMI260 driver 2024-02-13 10:56:22 +00:00
Cryolitia d1117dcf09 gpd-win-man-2-2023: init README 2024-02-13 10:56:22 +00:00
Cryolitia 61d602f428 gpd-win-max-2-2023: remove udev rule disabling PCI wakeup
fixed in linux kernel mainline and backported
805c74eac8
2024-02-13 10:56:22 +00:00
queer-bird 7220f26a7c Missed a curly bracket 2024-02-13 10:50:48 +00:00
queer-bird 8be74baad0 Fix audio interference in headphone jack on Thinkpad x1 Nano Gen 1 2024-02-13 10:50:48 +00:00
mexisme 6e5cc385fc Extract AMD-GPU from Nvidia, to make it easier to choose either 2024-02-06 09:25:57 +00:00
mexisme 5a8ed531f9 Initial config. for Lenovo Yoga Slim 7 Pro-X (14ARH7)
- Add entry to README.md and flake.nix
2024-02-06 09:25:57 +00:00
mexisme 06e919ac07 Update README.md and flake.nix 2024-02-06 09:20:31 +00:00
mexisme b5c4fb6b89 Add a config for Asus Zephyrus GA402X* (2023) series
- Disable power-saving for the keyboard on the Asus Zephyrus GA402X series (2023)
- Add more-aggressive roaming rules for Asus Mediatek cards when using IWD
  - Add note about potentially needing more-aggressive roaming rules for Asus Mediatek cards when using WPA-Supplicant
  - Make enabling the higher scanning optional
- Split-up the AMD-GPU and Nvidia configs
- Add switch for AMD-GPU recovery mode
- Add switch for AMD-GPU sg_display (Scatter/Gather) mode
- Add switch for AMD-GPU PSR support
2024-02-06 09:20:31 +00:00
Samuel Cobb fc8d1ebb82 Rename Omen model 2024-02-06 09:11:04 +00:00
Jörg Thalheim 83e571bb29
Merge pull request #851 from mexisme/microsoft/surface/kernel-6.6
Rewrite the microsoft/surface `linuxPackage` function to make it simpler to use
2024-02-02 07:49:42 +07:00
mergify[bot] 76cea60f68
Merge branch 'master' into microsoft/surface/kernel-6.6 2024-02-02 00:47:25 +00:00
4JX cc65e27670 Better default for amdgpuBusId 2024-02-01 10:14:09 +00:00
4JX ed01236ece 16ach6h: Comment out failing edid line
Fixes #795
2024-02-01 10:14:09 +00:00
4JX 07e43b0530 16ach6h: Fix X11 setup
Fixes #628
2024-02-01 10:14:09 +00:00
4JX 58b17dc234 16ach6h: Do not duplicate nvidia config 2024-02-01 10:14:09 +00:00
Guillaume Girol 3b54f86b53 dell inspiron 5515: add early kms
since the update to 23.11, the screen would remain black frequently on
boot. Pressing alt+sysrq+k would make the display manager start.
Empirically, setting early kms up has solved the issue.
2024-02-01 10:08:38 +00:00
ChaosAttractor 83ce5906a5 ga401: disable hardware.nvidia.powerManagement.enable 2024-02-01 10:01:33 +00:00
ChaosAttractor 80223acd7f ga401: enable nvidia.dynamicBoost 2024-02-01 10:01:33 +00:00
Nick Cao 42d7e50677 starfive visionfive2: update kernel to 6.6.0 2024-02-01 06:00:43 +00:00
mexisme 88712a124b Pick a better name than "versionsOfOption" 2024-01-31 21:36:14 +13:00
mexisme 85a2b5542e Restore the "majorVersion" functionality 2024-01-31 21:33:40 +13:00
mexisme c5214dc06a Add some functions to allow for a major.minor kernel version to be able to auto-allow the major.minor.patch to be auto-selected 2024-01-31 21:33:39 +13:00
mexisme 606b6a270e Drop the kernel version override for Surface Go hardware 2024-01-31 12:04:04 +13:00
mexisme 7def533968 Drop the deprecated "linuxPackage1" function, rename "linuxPackage2" to "linuxPackage" 2024-01-31 12:00:03 +13:00
mexisme f2fbed9ce6 Merge branch 'master' into microsoft/surface/kernel-6.6 2024-01-31 11:53:54 +13:00
mexisme 32ed8e5b86 Merge branch 'microsoft/surface/kernel-6.6' of github.com:mexisme/nixos-hardware into microsoft/surface/kernel-6.6 2024-01-26 11:37:48 +13:00
mexisme b4f54f34ed Merge branch 'master' into microsoft/surface/kernel-6.6 2024-01-26 11:37:25 +13:00
Jörg Thalheim f84eaffc35
Merge pull request #839 from damianoognissanti/patch-3
Make so that kernel configs are actually read when compiling for microsoft surface devices.
2024-01-25 12:30:38 +01:00
Jörg Thalheim e756ff62c2
Merge pull request #843 from stigtsp/surface-kernel-bump-8
surface: linux 6.6.10 -> 6.6.13
2024-01-24 09:32:37 +01:00
Stig Palmquist abff72bb97 surface: linux 6.6.10 -> 6.6.13 2024-01-24 09:25:36 +01:00
Nick Cao ff16da3a6b starfive visionfive2: update u-boot to 2024.01 2024-01-24 08:01:14 +00:00
damianoognissanti e57f8c264a
Update default.nix
Needed to make kernel build if options from patch are missing.
2024-01-16 18:41:29 +01:00
damianoognissanti 6b5d311cb6
Fix patches.nix
As discussed here: https://github.com/NixOS/nixos-hardware/issues/523

1) `structuredExtraConfig` is called `extraStructuredConfig` when using `kernelPatches`

2) STREAMING_MEDIA should be STAGING_MEDIA
2024-01-16 18:28:45 +01:00
mexisme 6cf457a2ec Merge branch 'master' into microsoft/surface/kernel-6.6 2024-01-15 22:54:37 +13:00
Domen Kožar bee2202bec Add support for Yoga Slim 7 Gen8 2024-01-15 09:51:25 +00:00
mexisme 921c09c127 Merge branch 'master' into microsoft/surface/kernel-6.6 2024-01-15 22:50:33 +13:00
dependabot[bot] a63273ffc7 build(deps): bump cachix/install-nix-action from 24 to 25
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 24 to 25.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v24...v25)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 03:02:08 +00:00
Lena Fuhrimann ef811636cc Add fwupd to Dell XPS 13 7390 config 2024-01-13 23:04:19 +00:00
Jörg Thalheim b34a6075e9 xps-15-9560: disable broken bumblebee for now
Looks like it fails to evaluate in nixpkgs just now
2024-01-09 07:46:34 +00:00
Jörg Thalheim af21850d3d
Merge pull request #833 from tlvince/patch-3
framework amd: only apply suspend workaround on <6.7
2024-01-09 08:23:39 +01:00
Tom Vincent fe76fc35f7
framework amd: only apply suspend workaround on <6.7 2024-01-08 18:25:06 +00:00
Stig Palmquist c478b3d569 surface: remove linux 6.1 2024-01-07 13:04:10 +00:00
Stig Palmquist 34bcc25fcd surface: set default kernel to major version 6.6 2024-01-07 13:04:10 +00:00
Stig Palmquist 5a721ef5f1 surface: linux 6.6.8 -> 6.6.10 2024-01-07 13:04:10 +00:00
Mika Tammi 1723853180 microchip icicle-kit: Fixes to kernel
* Improve by changing from legacy extraConfig to the
  structuredExtraConfig style kerenl configuration.
* Remove few unneeded kernel modules from default configuration.
* Make kernelPatches, structuredExtraConfig and extraMeta overrideable.
* Change callPackage-style function to actually take the individual
  attributes from pkgs.
* Get rid of recursive syntax.

Signed-off-by: Mika Tammi <mika.tammi@unikie.com>
2024-01-05 12:36:28 +00:00