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
Jörg Thalheim
57164fc634
Merge pull request #452 from marijanp/z-series
...
lenovo/z: add Lenovo Thinkpad Z(13)
2022-09-02 05:22:11 +01:00
Marijan Petričević
fb635bfba0
lenovo/z: add Lenovo Thinkpad Z(13)
...
Co-authored-by: toastal <toastal@posteo.net>
2022-09-01 12:04:22 +02:00
Philippe Schaaf
7ffa41766a
added lenovo thinkpad T590
...
Copied from T550 and T490 config.
Omit the pulseaudio profile from T490 config for now.
Signed-off-by: Philippe Schaaf <philippe.schaaf@secunet.com>
2022-08-18 08:54:15 +02:00
Andrea Ciceri
adbeb1a5d6
Enable throttled
for Thinkpad X1 gen 7 too
...
Even if this device is currently not mentioned upstream between the
devices that need this I stressed my machine (using `s-tui`) with and
without and I can confirm that it incremented the average CPU frequency
during the stress test (from 1.8/2GHz to around 3GHz).
2022-08-17 16:41:12 +02:00
Andrea Ciceri
2284621815
Quirks no more needed
2022-08-17 14:45:50 +02:00
Mark K Gardner
b19015a0ba
Adds support for Thinkpad T460p
2022-07-19 09:06:58 -04:00
Ryan Horiguchi
e3259b25eb
Fix legion 7 slim 15ach6
2022-07-19 09:06:57 -04:00
Chris McDonough
0e7decc220
fix merge conflicts from p52-to-master merge
2022-07-13 17:48:44 -04:00
Chris McDonough
6aafb9960b
comment about silencing ACPI errors
2022-07-13 01:15:35 -04:00
Chris McDonough
66f8f007d0
add comment about normalizing dpi between sync and offload mode
2022-07-12 23:02:05 -04:00
Chris McDonough
a3f3326899
add comment about normalizing dpi between sync and offload mode
2022-07-12 23:01:26 -04:00
Chris McDonough
e8e0e7dc37
conditionally turn on power management and modesetting when we are in sync mode
2022-07-12 20:02:44 -04:00
Chris McDonough
6261a28429
conditionally turn on power management and modesetting when we are in sync mode
2022-07-12 20:01:42 -04:00
Chris McDonough
fd08b05aed
comment about acpi errors
2022-07-12 17:11:02 -04:00
Chris McDonough
116ae977ab
throttled consistency
2022-07-11 17:44:39 -04:00
Chris McDonough
47cb2be872
mkDefault consistency
2022-07-10 19:13:48 -04:00
Chris McDonough
c2295916b3
mkDefault consistency
2022-07-10 19:10:49 -04:00
Chris McDonough
bd873a9807
cannot replicate sleep problem without external monitor or any usb device plugged in
2022-07-09 04:36:30 -04:00
Chris McDonough
f5d9dd114f
cannot replicate findings for sleep not working when system has no usb or external video plugged in to it, make wireless work
2022-07-08 23:11:43 -04:00
Chris McDonough
22cdffc925
turns out hardware.enableAllFirmware is also required for p51 wireless
2022-07-07 10:00:40 -04:00
Chris McDonough
005e19d6f0
required to make wireless work
2022-07-07 09:31:42 -04:00
Chris McDonough
ac75bbc476
transform sleep comment into optionally includable expression
2022-07-05 17:45:16 -04:00
Chris McDonough
e36b0c4022
add p52
2022-07-05 14:39:22 -04:00
Chris McDonough
f90db4cb9e
add p50 and p51
2022-07-04 23:24:35 -04:00
Jörg Thalheim
c530838143
Merge pull request #429 from xfix/lenovo-gen4
...
thinkpad/x1-extreme/gen4: add module
2022-07-01 21:04:22 +02:00
Konrad Borowski
c3aa1fae79
lenovo/thinkpad/x1-extreme/gen4: add module
2022-07-01 20:54:40 +02:00
Samuel Hierholzer
3d9b6a6215
Fix Wifi for Lenovo Thinkpad T14s Gen1
2022-06-28 08:28:04 +02:00
Ulrik Strid
9ec5f52ea2
Add lenovo legion 7 16ITHg6
2022-06-23 09:30:05 +02:00
Simon Bruder
07e5049f8f
p14s: ensure rtw89 driver is available
2022-05-31 13:38:23 +02:00
koalp
b750b56a20
feat: add acpi_call and ssd for thinkpad x270
...
acpi_call is required to use tlp on lenovo thinkpad x270 and some x270
have an ssd.
Therefor, acpi_call and ssd have been added to the lenovo thinkpad x270
hardware config.
2022-04-24 12:47:42 +02:00
Thomas Woolford
08cf55e7b6
Remove intel_iommu=on
by default for all X1 models.
...
IOMMU still breaks suspend/resume on multiple Lenovo models including X1.
Currently broken on at least Gen4 which I'm testing on. Hard locks the system during suspend.
This thread claims it works on Gen4 with kernel 5.16.1 but it doesn't work on my hardware, firmware fully updated.
https://bugzilla.kernel.org/show_bug.cgi?id=197029
This should probably be turned on individually for models known to work until it can be more thoroughly tested.
2022-04-01 23:06:12 +10:30
Guilherme Ananias
8c6b773900
add laptop/ssd module to thinkpad-t14
2022-03-24 13:43:32 -03:00
Jörg Thalheim
c326257692
Merge pull request #392 from rhoriguchi/master
...
Add lenovo legion 7 slim 15ach6
2022-03-23 13:54:24 +00:00
Ryan Horiguchi
27e7087af5
Add lenovo legion 7 slim 15ach6
2022-03-23 13:44:38 +01:00
Markus Schneider
83c1cd4a5a
add support for lenovo X1 yoga
2022-03-16 18:25:14 +01:00
Nicholas Sielicki
72d4903998
add lenovo legion 5 15ARH05H
2022-03-06 20:40:20 +00:00
Jörg Thalheim
ac307defda
Merge pull request #370 from esterlus/este/t14gen2
...
added thinkpad t14 gen2 and copied t14s files where applicable
2022-02-14 20:14:05 +00:00
Jörg Thalheim
6b6f4f8dd6
thinkpad/x1/6th-gen/QHD: drop gtk hidpi env variables
...
Those actually break Gnome/wayland. They might work on x11.
2022-02-12 19:42:06 +01:00
Ronny Esterluss
6e9617a733
readded t14 amd gen1 to new folder structure
2022-02-04 15:10:46 +01:00
Ronny Esterluss
2e4ee9d5e8
removed empty newline
2022-02-02 10:54:59 +01:00
Ronny Esterluss
ce38b7abb1
added thinkpad t14 gen2 and copied t14s files where applicable
2022-02-02 10:54:31 +01:00
Jörg Thalheim
7dd944da98
p14s: starting with 5.16 we have this kernel module upstream
2022-02-01 22:12:04 +01:00
Brandon Weeks
6bdf6d3cda
thinkpad/x1: enable Intel IOMMU
2022-01-10 00:47:30 -08:00
Jörg Thalheim
2a76e1204f
Merge pull request #351 from Mic92/x13
...
x13: fix loading psmouse
2021-12-26 10:18:00 +00:00
Jörg Thalheim
b166aab83e
x13: fix loading psmouse
2021-12-26 10:15:40 +01:00
ilian
5bc7087038
thinkpad/x1: import ssd config for relevant models
2021-12-19 12:06:09 +01:00
Mark Karpov
0492dd8216
Add a config for the 9th generation of Lenovo Thinkpad X1
...
This solves lagging noticeable on high-resolution screens.
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-11-18 10:55:46 +01:00
Jörg Thalheim
63adb4a0c0
Merge pull request #324 from yvan-sraka/patch-1
...
Update X230 config using available common settings
2021-10-28 20:48:13 +02:00
P. R. d. O
fdf8fa5d20
lenovo.thinkpad.t430: fix boot.kernelParams
2021-10-26 19:50:38 -06:00
Yvan Sraka
36d75fdcdc
Update X230 config using available common settings
2021-10-21 10:11:37 +02:00
Gaute Ravndal
3c474df279
Add basic support for the thinkpad t550
2021-10-09 16:49:21 +02:00
Jörg Thalheim
3cc8c47af3
Merge pull request #315 from ebbertd/e14-amd
...
Update E14 AMD
2021-09-22 00:39:40 +01:00
Naïm Favier
95ce025962
lenovo/thinkpad/t420: add tp-smapi
...
The T420 seems to have partial (readonly) support for the tp-smapi module, which TLP can make use of:
> Install tp-smapi kernel modules for extended battery info (e.g. the cycle count)
2021-09-16 12:41:30 +02:00
Daniel Ebbert
48b7c1c782
Update E14 AMD
2021-09-01 09:34:21 +02:00
Julian Stecklina
03eba5720a
lenovo/thinkpad/l14/amd: drop workaround for old kernels
...
... because the latest supported NixOS runs on Linux 5.10 by
default.
2021-08-25 23:33:11 +02:00
Julian Stecklina
2c549a1bfb
lenovo/thinkpad/l14: enable SSD config
2021-08-25 23:33:11 +02:00
Julian Stecklina
9ff8606e7e
lenovo/thinkpad/l14/amd: switch to soft iommu mode to prevent mmcblk kernel panic
2021-08-25 23:33:11 +02:00
Julian Stecklina
49f1d1e1f8
lenovo/thinkpad/l14/amd: enable AMD GPU config
2021-08-25 23:23:35 +02:00
Daniel Ebbert
6f10c889c0
Init Lenovo ThinkPad E14
2021-08-19 12:15:46 +02:00
Daniel Ebbert
eb385fad1e
lenovo/thinkpad/e495: use native acpi backlight
2021-08-18 11:58:49 +02:00