Commit graph

249 commits

Author SHA1 Message Date
bors[bot] 22ef358f5f
Merge #581
581: lenovo 16ach6h: add amd cpu pstate r=Mic92 a=LostAttractor



Co-authored-by: ChaosAttractor <46527539+LostAttractor@users.noreply.github.com>
2023-03-09 19:17:21 +00:00
Naïm Favier fb4ff6250e
t14s,p14s: remove rtw89-firmware if linux-firmware new enough 2023-02-22 14:02:07 +01:00
bors[bot] d24ea777c5
Merge #559
559: p14s: do not include acpi_backlight on newer kernel versions r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2023-02-20 20:21:32 +00:00
Jörg Thalheim 93030acc16 p14s: do not include acpi_backlight on newer kernel versions 2023-02-20 21:12:29 +01:00
bors[bot] 1f5e2b7a6a
Merge #553
553: lenovo/thinkpad/t520: create r=Mic92 a=reo101



Co-authored-by: Pavel Atanasov <pavel.atanasov2001@gmail.com>
Co-authored-by: reo101 <pavel.atanasov2001@gmail.com>
2023-02-20 20:11:51 +00:00
piousdeer 576be211f0 lenovo/legion/16ach6h: disable thermald
It's for Intel laptops. 16ach6h is not one of them.
2023-02-19 23:45:40 +07:00
Pavel Atanasov 51ec9ab517
lenovo/thinkpad/t520: create
Borrow `t420`'s config since the machines only mainly differ in screen size
2023-02-09 20:17:37 +02:00
bors[bot] 44ae00e02e
Merge #550
550: Add amdvlk and opencl options to amdgpu & Fix proton crash when Dual-Direct GFX enabled for lenovo legion 16ach6h r=Mic92 a=LostAttractor



Co-authored-by: ChaosAttractor <46527539+LostAttractor@users.noreply.github.com>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-02-09 09:06:46 +00:00
Jörg Thalheim 445db26b88
Update lenovo/legion/16ach6h/nvidia/default.nix 2023-02-09 09:04:15 +00:00
ChaosAttractor 8732ed0a36 16ach6h: add amd cpu pstate 2023-02-08 18:58:59 +08:00
ChaosAttractor be60a34c1a 16ach6h: disable amdvlk and rocm-opencl for nvidia-only mode 2023-01-30 15:23:11 +08:00
Winston R. Milling 68136fdd0a
Lenovo Y530-15ICH Initial Commit 2023-01-29 14:48:35 -06:00
bors[bot] b7ac0a5602
Merge #544 #545 #546
544: Fix copy-paste typo: "CONFIG_" prefix in structuredExtraConfig patches r=Mic92 a=mexisme



545: Add kernel 6.1.6 to Microsoft Surface profile r=Mic92 a=mexisme



546: lenovo/thinkpad/t440p: force load thinkpad_acpi r=Mic92 a=surfaceflinger



Co-authored-by: mexisme <wildjim+dev@kiwinet.org>
Co-authored-by: surfaceflinger <nat@nekopon.pl>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-01-24 08:59:53 +00:00
Jörg Thalheim d25ac8d999
Update lenovo/thinkpad/t440p/default.nix 2023-01-24 08:54:28 +00:00
ChaosAttractor f83f6d1437 16ach6h: Add tags for Dual-Direct GFX (DDG) specialisation 2023-01-24 01:34:55 +08:00
surfaceflinger 759a06ec4a
lenovo/thinkpad/t440p: force load thinkpad_acpi
thinkpad_acpi doesn't load automatically on corebooted Lenovo ThinkPads T440p (but works fine if force_loaded). Doesn't affect users with stock firmware.
2023-01-20 21:37:32 +01:00
Jörg Thalheim 03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01: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
ChaosAttractor ab165ab191 Add standalone hybrid only and nvidia only modules 2022-12-19 23:10:28 +08: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
4JX b441875a50 Apply suggestion 2022-11-24 16:39:20 +01:00
4JX 776287c483 Add some data about the device used 2022-11-24 00:12:24 +01:00
4JX 56bb7c93b3 Add Lenovo Legion 5 Pro Gen 6 2022-11-23 20:47:27 +01:00
bors[bot] 0099253ad0
Merge #502
502: common/gpu/nvidia*: Migrate to common/gpu/nvidia/* and add non-prime r=Mic92 a=TLATER



Co-authored-by: Tristan Daniël Maat <tristan.maat@codethink.co.uk>
2022-11-22 19:43:54 +00:00
Tristan Daniël Maat cdd049a353
treewide: Migrate to new nvidia modules 2022-11-13 01:55:13 +00:00
matthewcroughan 435a9c6526 Add support for ssd to Lenovo ThinkPad T480 2022-11-11 13:43:35 +00:00
Daniel Reimer 7b063efe67 add lenovo/thinkpad/x1/10th-gen 2022-11-05 22:15:29 -07:00
MayNiklas 2c27afc7ed add lenovo/thinkpad/x1/yoga/7th-gen 2022-10-22 15:35:24 +02:00
Davide Dapelo 821c9f1d35 Add support for ssd to Lenovo ThinkPad T480s 2022-10-15 13:54:18 +01:00
Edgar B d3e383e974
15arh05: add acpi_call
This can be used by tools like shaansubbaiah/powercontrol to enable fast charging
2022-10-14 05:38:50 +00:00
Edgar B 322dc8db3e
15arh05: fix tlp scaling governor 2022-10-14 05:36:13 +00:00
K900 1788d8f74e
lenovo/thinkpad/x1-extreme: remove acpi_call
It's deprecated and doesn't work correctly anyway. Recent firmwares can power the GPU off if it drops off the bus, which can be forced with udev rules.
2022-10-02 12:50:42 +03:00
Jörg Thalheim 5c0995a012 thinkpad-z: fix eval 2022-09-29 13:32:55 +02:00
Jörg Thalheim a0df6cd6e1
Merge pull request #462 from flosse/p16s
Add lenovo/thinkpad/p16s/amd/gen1
2022-09-15 10:12:37 +02:00
Jörg Thalheim f29ce8dd25
Merge pull request #464 from CalebJohn/t14amdgen3
Add thinkpad t14 amd gen3
2022-09-15 10:12:12 +02:00
Markus Kohlhase 1cf3862265 Add lenovo/thinkpad/p16s/amd/gen1 2022-09-14 13:44:17 +02:00
Jörg Thalheim c4cb6735ba
Merge pull request #460 from Guekka/ideapad-15arh05
add lenovo ideapad 5 15arh05
2022-09-14 07:25:28 +02:00
CalebJohn f6f318b52a Add thinkpad t14 amd gen3 2022-09-13 16:36:19 -07:00
Domen Kožar 305bbc2442 tinkpad t14s amd: enable deep sleep 2022-09-13 12:16:46 +01:00
Guekka 1f9058d65d
add lenovo ideapad 5 15arh05 2022-09-12 13:50:33 +02:00
Jörg Thalheim 7866333317
Merge pull request #447 from aciceri/thinkpad-x1-g7
Removed unnecesary quirks and added `throttled` service
2022-09-02 05:22:28 +01:00