Commit graph

1395 commits

Author SHA1 Message Date
Jörg Thalheim 03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
bors[bot] d7dfd13d25
Merge #510
510: Config settings for Dell XPS 13 / 9300 r=Mic92 a=mexisme



Co-authored-by: mexisme <wildjim+dev@kiwinet.org>
2022-12-31 07:30:19 +00:00
mexisme ed291da4ab Update flake.nix and root README.md 2022-12-31 14:23:53 +13:00
mexisme 0cee376703 Support reloading btusb module after resuming 2022-12-31 14:23:53 +13:00
mexisme 97900e1e7e Support reloading i2c-designware module(s) after resuming 2022-12-31 14:23:53 +13:00
mexisme b1582825dd Support for the Dell XPS 13, 9300 model 2022-12-31 14:23:53 +13:00
bors[bot] e2f9c6f736
Merge #525
525: Add LENOVO Yoga 6 13ALC6 82ND r=Mic92 a=me00001



Co-authored-by: suliman <suliman.p2019@gmail.com>
Co-authored-by: me00001 <37930867+me00001@users.noreply.github.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-12-29 13:53:34 +00:00
Jörg Thalheim 49485f5569
Update lenovo/yoga/6/13ALC6/default.nix 2022-12-29 13:53:01 +00:00
Jörg Thalheim c1a38081fa
Update lenovo/yoga/6/13ALC6/default.nix 2022-12-29 13:52:15 +00:00
suliman 993e6c8726 removo TLP 2022-12-29 16:50:43 +03:00
suliman 114881dd3d Minimum required version is 5.16 based on https://linux-hardware.org/?id=pci:10ec-8852-17aa-4852 2022-12-29 14:42:08 +03:00
me00001 a30c4834f4
set a minimum kernel
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-12-29 13:23:08 +03:00
suliman 2e8fce47c8 Reusing modules 2022-12-28 23:10:35 +03:00
suliman 485f3bc2f2 Add LENOVO Yoga 6 13ALC6 82ND 2022-12-24 02:38:10 +03:00
bors[bot] 9577ab1eaf
Merge #518
518: raspberry-pi/4: dtmerge update r=Mic92 a=carlossless



Co-authored-by: Karolis Stasaitis <contact@carlossless.io>
2022-12-21 14:04:41 +00:00
Karolis Stasaitis 93b1cdbb77 raspberry-pi/4: dtmerge update
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-12-21 14:27:48 +02:00
bors[bot] 25010a042c
Merge #515
515: Update config of Lenovo legion 16ach6h r=Mic92 a=LostAttractor



Co-authored-by: ChaosAttractor <46527539+LostAttractor@users.noreply.github.com>
2022-12-19 16:37:27 +00:00
ChaosAttractor 8d2e13c847 Merge branch 'master' into lenovo-legion-16ach6h 2022-12-19 23:10:30 +08:00
ChaosAttractor ab165ab191 Add standalone hybrid only and nvidia only modules 2022-12-19 23:10:28 +08:00
bors[bot] 7a1b9419c9
Merge #519
519: Latitude 7430: init r=Mic92 a=s1341



Co-authored-by: s1341 <github@shmarya.net>
2022-12-19 13:08:22 +00:00
s1341 9c0fa60e49 Latitude 7430: init 2022-12-19 12:41:50 +02:00
ChaosAttractor b53fc0a785 Add specialisation for “DDG" mode is enabled 2022-12-19 14:36:29 +08:00
ChaosAttractor dea6ef85a1 Enable hardware.nvidia.modesetting 2022-12-19 13:02:28 +08:00
ChaosAttractor dc8f1fd6a8 Enable hardware.nvidia.powerManagement
Update default.nix
2022-12-17 18:38:06 +08:00
ChaosAttractor 262146dc76 Override edid of built-in display
Fix the problem that the edid of the built-in display only provided 60hz mode when use Hybrid Graphics

It appears to be a Lenovo firmware issue and i try to fix it. This issue still reproducible on BIOS version GKCN58WW(22/12/16)
Lenovo Legion 5 Pro is a laptop which support a technology called "DDG" that can allow you switch between discrete graphics mode and hybrid mode (optiums).
In discrete graphics mode, the firmware provides the correct edid and anything works fine, the built-in display work well at 165hz.
But if switch to hybrid mode, the firmware provides a different edid, causing the built-in display only can work at 60hz.
So I extracted the edid file of discrete graphics mode and override the edid that built-in display provide to solve this problem.

Co-Authored-By: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-12-17 18:38:06 +08:00
bors[bot] e462a4baf7
Merge #517
517: cpu/amd/pstate: enable correctly on kernel 6.1+ r=Mic92 a=K900



Co-authored-by: K900 <me@0upti.me>
2022-12-16 22:01:05 +00:00
Jörg Thalheim 9deb37488f
Merge pull request #513 from LostAttractor/loadAtStage1
Add a option to add(or disadd) amdgpu to kernelModule
2022-12-16 21:55:05 +00:00
ChaosAttractor 2fcc402c01
Merge branch 'master' into loadAtStage1 2022-12-17 00:06:23 +08:00
ChaosAttractor a1a8723bf9 Add a option to add(or disadd) amdgpu to kernelModule
Add a option to add(or disadd) amdgpu to boot.initrd.kernelModule
2022-12-17 00:04:46 +08:00
K900 b67160bb7f
cpu/amd/pstate: enable correctly on kernel 6.1+
There is no separate module now, and a clean option to enable it.
2022-12-16 17:43:40 +03:00
bors[bot] 488931efb6
Merge #514
514: Add lib.mkDefault in services.xserver.videoDrivers = [ "amdgpu" ]; r=Mic92 a=LostAttractor



Co-authored-by: ChaosAttractor <46527539+LostAttractor@users.noreply.github.com>
2022-12-16 09:40:12 +00:00
ChaosAttractor b35c93e8a2 Add mkDefault to services.xserver.videoDrivers = [ "amdgpu" ]; 2022-12-16 06:58:12 +08:00
bors[bot] 1f60672721
Merge #508
508: Add support for GA402 r=Mic92 a=aacebedo



Co-authored-by: Alexandre Acebedo <alexandre@acebedo.fr>
2022-12-15 12:19:56 +00:00
bors[bot] 0fbf27af51
Merge #511
511: Kernel 6.0.11 for Microsoft Surface devices r=Mic92 a=mexisme



Co-authored-by: mexisme <wildjim+dev@kiwinet.org>
2022-12-13 19:29:37 +00:00
mexisme cd76050824 Update for code refactor 2022-12-05 17:51:33 +13:00
mexisme 560e4f2ecf Merge branch 'microsoft/surface/refactor-kernel-code' into microsoft/surface/kernel-6.0.11 2022-12-05 17:44:37 +13:00
mexisme be728899cf Tidy-up 2022-12-05 17:42:40 +13:00
mexisme e84ab22523 Extract the kernel patches out 2022-12-05 17:38:21 +13:00
mexisme e37520e48b Rearrange the kernels to make them self-defining 2022-12-05 17:32:25 +13:00
mexisme f99c9d5b1f Tidy-up 2022-12-05 16:04:11 +13:00
mexisme d2b7a0fb9a Kernel 6.0.11 for MS Surface Devices 2022-12-05 14:40:24 +13:00
mexisme 76c6688e86 Merge branch 'microsoft/surface/refactor-kernel-code' into microsoft/surface/kernel-6.0.11 2022-12-05 13:41:07 +13:00
mexisme b01a6d58df Remove obsolete file 2022-12-05 13:38:14 +13:00
mexisme 87597ab307 Remove obsolete files 2022-12-05 13:37:20 +13:00
mexisme 33d17074a3 Merge branch 'microsoft/surface/refactor-kernel-code' into microsoft/surface/kernel-6.0.11 2022-12-05 13:36:23 +13:00
mexisme 52dd282ee3 Merge branch 'up/master' into microsoft/surface/refactor-kernel-code 2022-12-05 12:18:27 +13:00
mexisme 3ad53f12b1 Merge branch 'up/master' into microsoft/surface/kernel-6.0.11 2022-12-05 12:00:56 +13:00
bors[bot] 9d87bc030a
Merge #509
509: surface/kernel: 5.16.11 -> 5.19.17 r=Mic92 a=christophcharles



Co-authored-by: Christoph Charles <23055925+christophcharles@users.noreply.github.com>
2022-12-04 17:28:39 +00:00
Christoph Charles 250d6991c9 surface/kernel: 5.16.11 -> 5.19.17 2022-12-04 17:34:44 +01:00
Alexandre Acebedo f17316259f fixup! Add support for GA402 2022-12-03 17:41:33 +01:00