Enable the dGPU on the Lenovo T440P. It uses the same code (roughly) of the T430S. By default, it is set to be disabled however it can be enabled via the nvram option enable_dual_graphics. Removed hybrid graphics options too as they are not valid for the T440p. Tested on a T440P with Ubuntu 18.04.4 with Kernel 5.3.0-29 (successful). Tested on same machine with Windows 10 1909 (machine check exception bluescreen). Change-Id: Idf8c2c0d1ae34bda8736448d3e350396e3cf7a93 Signed-off-by: Chris Morgan <macromorgan@hotmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38723 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
119 lines
3.8 KiB
Plaintext
119 lines
3.8 KiB
Plaintext
##
|
|
## This file is part of the coreboot project.
|
|
##
|
|
## Copyright (C) 2007-2008 coresystems GmbH
|
|
## Copyright (C) 2014 Vladimir Serbinenko
|
|
##
|
|
## This program is free software; you can redistribute it and/or modify
|
|
## it under the terms of the GNU General Public License as published by
|
|
## the Free Software Foundation; version 2 of the License.
|
|
##
|
|
## This program is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
##
|
|
|
|
# -----------------------------------------------------------------
|
|
entries
|
|
|
|
# -----------------------------------------------------------------
|
|
# Status Register A
|
|
# -----------------------------------------------------------------
|
|
# Status Register B
|
|
# -----------------------------------------------------------------
|
|
# Status Register C
|
|
#96 4 r 0 status_c_rsvd
|
|
#100 1 r 0 uf_flag
|
|
#101 1 r 0 af_flag
|
|
#102 1 r 0 pf_flag
|
|
#103 1 r 0 irqf_flag
|
|
# -----------------------------------------------------------------
|
|
# Status Register D
|
|
#104 7 r 0 status_d_rsvd
|
|
#111 1 r 0 valid_cmos_ram
|
|
# -----------------------------------------------------------------
|
|
# Diagnostic Status Register
|
|
#112 8 r 0 diag_rsvd1
|
|
|
|
# -----------------------------------------------------------------
|
|
0 120 r 0 reserved_memory
|
|
#120 264 r 0 unused
|
|
|
|
# -----------------------------------------------------------------
|
|
# RTC_BOOT_BYTE (coreboot hardcoded)
|
|
384 1 e 4 boot_option
|
|
388 4 h 0 reboot_counter
|
|
#390 2 r 0 unused?
|
|
|
|
# -----------------------------------------------------------------
|
|
# coreboot config options: console
|
|
#392 3 r 0 unused
|
|
395 4 e 6 debug_level
|
|
#399 1 r 0 unused
|
|
|
|
#400 8 r 0 reserved for century byte
|
|
|
|
# coreboot config options: southbridge
|
|
408 1 e 1 nmi
|
|
409 2 e 7 power_on_after_fail
|
|
|
|
# coreboot config options: EC
|
|
411 1 e 8 first_battery
|
|
415 1 e 1 wlan
|
|
416 1 e 1 trackpoint
|
|
417 1 e 1 fn_ctrl_swap
|
|
418 1 e 1 sticky_fn
|
|
419 2 e 13 usb_always_on
|
|
422 2 e 10 backlight
|
|
424 1 e 1 f1_to_f12_as_primary
|
|
|
|
# coreboot config options: northbridge
|
|
435 1 e 1 enable_dual_graphics
|
|
#437 3 r 0 unused
|
|
440 8 h 0 volume
|
|
|
|
# coreboot config options: check sums
|
|
984 16 h 0 check_sum
|
|
|
|
# -----------------------------------------------------------------
|
|
|
|
enumerations
|
|
|
|
#ID value text
|
|
1 0 Disable
|
|
1 1 Enable
|
|
2 0 Enable
|
|
2 1 Disable
|
|
4 0 Fallback
|
|
4 1 Normal
|
|
6 0 Emergency
|
|
6 1 Alert
|
|
6 2 Critical
|
|
6 3 Error
|
|
6 4 Warning
|
|
6 5 Notice
|
|
6 6 Info
|
|
6 7 Debug
|
|
6 8 Spew
|
|
7 0 Disable
|
|
7 1 Enable
|
|
7 2 Keep
|
|
8 0 Secondary
|
|
8 1 Primary
|
|
9 0 AHCI
|
|
9 1 Compatible
|
|
# Haswell ThinkPads have no Thinklight
|
|
#10 0 Both
|
|
10 1 Keyboard
|
|
#10 2 Thinklight only
|
|
10 3 None
|
|
13 0 Disable
|
|
13 1 AC and battery
|
|
13 2 AC only
|
|
|
|
# -----------------------------------------------------------------
|
|
checksums
|
|
|
|
checksum 392 447 984
|