Commit graph

1055 commits

Author SHA1 Message Date
mexisme f0835cb45c Extract "surface-control" management into new option-enabled module 2023-01-10 16:06:55 +13:00
mexisme 0ce988ea8a Extract IPTSd management into new option-enabled module 2023-01-10 16:06:55 +13:00
mexisme 51122e95a1 Extract _actually_ common code out of microsoft/surface/default.nix 2023-01-10 16:06:55 +13:00
mexisme 5e6d5f2d88 Doc comment 2023-01-10 15:38:47 +13:00
mexisme 03df3d2d53 Move files around...
- "kernel" and "repos.nix" --> "common/"
- "firmware/surface-go/ath10k" --> "surface-go/firmware/ath10k"
- Update where "kernel", "firmware/surface-go" and "repos.nix" can be found
2023-01-10 15:38:47 +13:00
bors[bot] ca29e25c39
Merge #531
531: asus-zephyrus-ga402: fix mic mute button r=Mic92 a=figsoda



Co-authored-by: figsoda <figsoda@pm.me>
2023-01-02 07:27:44 +00:00
figsoda 6517e0efcb asus-zephyrus-ga402: fix mic mute button 2023-01-01 12:31:25 -05:00
bors[bot] 0517e81e8c
Merge #530
530: Added configuration for panasonic let's note r=Mic92 a=2gn



Co-authored-by: Hiram Tanner <indianrunner@duck.com>
2023-01-01 09:54:34 +00:00
Hiram Tanner c82db46e75 Added configuration for panasonic
Update panasonic/letsnote/cf-lx4/default.nix

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>

Added profile to flake.nix
2022-12-31 23:30:14 +09:00
bors[bot] 3c03f64efb
Merge #529
529: treewide: apply deadnix and statix r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2022-12-31 10:58:34 +00:00
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