Commit graph

1136 commits

Author SHA1 Message Date
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
Alexandre Acebedo 56566dc47f fixup! Add support for GA402 2022-12-03 17:38:26 +01:00
Alexandre Acebedo e18b759b1b Add support for GA402 2022-12-03 17:19:05 +01:00
bors[bot] 7883883d13
Merge #506
506: Add Lenovo Legion 5 Pro Gen 6 r=Mic92 a=4JX



Co-authored-by: 4JX <79868816+4JX@users.noreply.github.com>
2022-11-28 15:56:34 +00:00
mexisme 87adbffa11 Fix-ups 2022-11-29 00:00:31 +13:00
mexisme a51973c994 Add linux-surface patches for 5.19.2 2022-11-28 23:43:50 +13:00
mexisme d93d29bdc9 Add-back linux-surface/linux-surface repo, for easy access to the kernel patches 2022-11-28 23:42:41 +13:00
mexisme 5d0ade6958 Add-back linux-surface/linux-surface repo, for easy access to the kernel patches 2022-11-28 23:21:34 +13:00
mexisme 50ce82cc84 Fix for unexpected recursion error
Might be related to how these packages access "pkgs" ?
2022-11-28 22:26:47 +13:00
mexisme 3de7b6e0c5 Use the newly refactored code 2022-11-28 20:37:07 +13:00