Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/28393 )
Change subject: mb/lenovo: Dual Graphics for xx20/xx30 ThinkPads
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/#/c/28393/2/src/mainboard/lenovo/t430s/romstage…
File src/mainboard/lenovo/t430s/romstage.c:
https://review.coreboot.org/#/c/28393/2/src/mainboard/lenovo/t430s/romstage…
PS2, Line 72: enum hybrid_graphics_req mode = HYBRID_GRAPHICS_INTEGRATED;
why not using the hybrid graphics driver ? it looks like the code is the same. Just use:
has_thinker1 = 1
has_panel_hybrid_gpio = 0
has_backlight_gpio = 0
I'm not sure about detect_gpio.
If you want to make sure hybrid_graphics_mode isn't DISCRETE (which can't be set using nvramtool or nvramcui anyway) you could use set_option() here and then call early_hybrid_graphics.
--
To view, visit https://review.coreboot.org/28393
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I8842fef0fa1235eb91abf6b7e655ed4d8598adc7
Gerrit-Change-Number: 28393
Gerrit-PatchSet: 2
Gerrit-Owner: Evgeny Zinoviev <me(a)ch1p.com>
Gerrit-Reviewer: Evgeny Zinoviev <me(a)ch1p.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 31 Aug 2018 07:13:03 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Hello Naresh Solanki, PraveenX Hodagatta Pranesh, Subrata Banik, Balaji Manigandan, Kin Wai Ng, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28399
to look at the new patch set (#2).
Change subject: soc/intel/cannonlake: Correct number of root ports for CNL PCH H
......................................................................
soc/intel/cannonlake: Correct number of root ports for CNL PCH H
CNL PCH H supports maximum 24 root ports while CNL PCH LP supports
maximum 16 root ports.
Change-Id: I2cc3ae282d4eb5da8b0618451e062a6c061f1d6f
Signed-off-by: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
---
M src/soc/intel/cannonlake/Kconfig
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/28399/2
--
To view, visit https://review.coreboot.org/28399
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I2cc3ae282d4eb5da8b0618451e062a6c061f1d6f
Gerrit-Change-Number: 28399
Gerrit-PatchSet: 2
Gerrit-Owner: Maulik V Vaghela <maulik.v.vaghela(a)intel.com>
Gerrit-Reviewer: Balaji Manigandan <balaji.manigandan(a)intel.com>
Gerrit-Reviewer: Kin Wai Ng <kin.wai.ng(a)intel.com>
Gerrit-Reviewer: Naresh Solanki <naresh.solanki(a)intel.com>
Gerrit-Reviewer: PraveenX Hodagatta Pranesh <praveenx.hodagatta.pranesh(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/28383 )
Change subject: riscv: separately define stack locations at different stages
......................................................................
Patch Set 3:
(2 comments)
https://review.coreboot.org/#/c/28383/3/src/arch/riscv/include/arch/memlayo…
File src/arch/riscv/include/arch/memlayout.h:
https://review.coreboot.org/#/c/28383/3/src/arch/riscv/include/arch/memlayo…
PS3, Line 24: #define CAR_STACK(addr, size) \
Macros with complex values should be enclosed in parentheses
https://review.coreboot.org/#/c/28383/3/src/arch/riscv/include/arch/memlayo…
PS3, Line 32: #define MEM_STACK(addr, size) \
Macros with complex values should be enclosed in parentheses
--
To view, visit https://review.coreboot.org/28383
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I37a0c1928052cabf61ba5c25b440363b75726782
Gerrit-Change-Number: 28383
Gerrit-PatchSet: 3
Gerrit-Owner: Xiang Wang <wxjstz(a)126.com>
Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Shawn Chang <citypw(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 31 Aug 2018 03:13:14 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Hello Patrick Rudolph, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28380
to look at the new patch set (#9).
Change subject: [WIP] Nvidia Optimus support for ThinkPads
......................................................................
[WIP] Nvidia Optimus support for ThinkPads
Based on siro's work #23041.
Tested on ThinkPad W530.
Adds ACPI code for dGPU power management.
Depends on:
https://review.coreboot.org/#/c/coreboot/+/28392https://review.coreboot.org/#/c/coreboot/+/28393
What works (tested on 4.16.13-gentoo kernel):
- power management via _PS0 and _DSM + _PS3 ACPI calls
- nouveau driver
- bumblebee (from the "develop" branch)
- bbswitch
- VGA ROM loading
Known problems:
- `lspci -s 01:00.0 -vv` turns dGPU on if it was off before. Not sure why it
happens (probably it calls _PS0 at some point) or whether it should
happen.
- nvidia driver doens't work:
[ 275.244113] NVRM: failed to copy vbios to system memory.
[ 275.244345] NVRM: RmInitAdapter failed! (0x30:0xffff:663)
[ 275.244433] NVRM: rm_init_adapter failed for device bearing minor number 0
[ 275.347956] NVRM: failed to copy vbios to system memory.
[ 275.348140] NVRM: RmInitAdapter failed! (0x30:0xffff:663)
[ 275.348163] NVRM: rm_init_adapter failed for device bearing minor number 0
Change-Id: I277808d6c1d8bd6e0a267a53f25471597698f8d5
Signed-off-by: Evgeny Zinoviev <me(a)ch1p.com>
---
A src/drivers/lenovo/hybrid_graphics/acpi/gpu.asl
A src/drivers/nvidia/optimus/acpi/optimus.asl
A src/ec/lenovo/pmh7/acpi/pmh7.asl
M src/mainboard/lenovo/t420/acpi/ec.asl
M src/mainboard/lenovo/t420/dsdt.asl
M src/mainboard/lenovo/t420s/acpi/ec.asl
M src/mainboard/lenovo/t420s/dsdt.asl
M src/mainboard/lenovo/t430/acpi/ec.asl
M src/mainboard/lenovo/t430/dsdt.asl
M src/mainboard/lenovo/t430s/acpi/ec.asl
M src/mainboard/lenovo/t430s/dsdt.asl
M src/mainboard/lenovo/t520/acpi/ec.asl
M src/mainboard/lenovo/t520/dsdt.asl
M src/mainboard/lenovo/t530/acpi/ec.asl
M src/mainboard/lenovo/t530/dsdt.asl
M src/northbridge/intel/sandybridge/acpi/peg.asl
16 files changed, 357 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/80/28380/9
--
To view, visit https://review.coreboot.org/28380
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I277808d6c1d8bd6e0a267a53f25471597698f8d5
Gerrit-Change-Number: 28380
Gerrit-PatchSet: 9
Gerrit-Owner: Evgeny Zinoviev <me(a)ch1p.com>
Gerrit-Reviewer: Evgeny Zinoviev <me(a)ch1p.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Anonymous Coward (1002090)
Hello Patrick Rudolph, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28380
to look at the new patch set (#8).
Change subject: [WIP] Nvidia Optimus support for ThinkPads
......................................................................
[WIP] Nvidia Optimus support for ThinkPads
Based on siro's work #23041.
Tested on ThinkPad W530.
Adds ACPI code for dGPU power management.
Depends on:
https://review.coreboot.org/#/c/coreboot/+/28392https://review.coreboot.org/#/c/coreboot/+/28393
What works (tested on 4.16.13-gentoo kernel):
- power management via _PS0 and _DSM + _PS3 ACPI calls
- nouveau driver (with a workaround, see below)
- bumblebee (from the "develop" branch)
- bbswitch
- VGA ROM loading
Known problems:
- `lspci -s 01:00.0 -vv` turns dGPU on if it was off before. Not sure why it
happens (probably it calls _PS0 at some point) or whether it should
happen.
Not tested yet:
- nvidia proprietary driver
Change-Id: I277808d6c1d8bd6e0a267a53f25471597698f8d5
Signed-off-by: Evgeny Zinoviev <me(a)ch1p.com>
---
A src/drivers/lenovo/hybrid_graphics/acpi/gpu.asl
A src/drivers/nvidia/optimus/acpi/optimus.asl
A src/ec/lenovo/pmh7/acpi/pmh7.asl
M src/mainboard/lenovo/t420/acpi/ec.asl
M src/mainboard/lenovo/t420/dsdt.asl
M src/mainboard/lenovo/t420s/acpi/ec.asl
M src/mainboard/lenovo/t420s/dsdt.asl
M src/mainboard/lenovo/t430/acpi/ec.asl
M src/mainboard/lenovo/t430/dsdt.asl
M src/mainboard/lenovo/t430s/acpi/ec.asl
M src/mainboard/lenovo/t430s/dsdt.asl
M src/mainboard/lenovo/t520/acpi/ec.asl
M src/mainboard/lenovo/t520/dsdt.asl
M src/mainboard/lenovo/t530/acpi/ec.asl
M src/mainboard/lenovo/t530/dsdt.asl
M src/northbridge/intel/sandybridge/acpi/peg.asl
16 files changed, 357 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/80/28380/8
--
To view, visit https://review.coreboot.org/28380
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I277808d6c1d8bd6e0a267a53f25471597698f8d5
Gerrit-Change-Number: 28380
Gerrit-PatchSet: 8
Gerrit-Owner: Evgeny Zinoviev <me(a)ch1p.com>
Gerrit-Reviewer: Evgeny Zinoviev <me(a)ch1p.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Anonymous Coward (1002090)
Evgeny Zinoviev has posted comments on this change. ( https://review.coreboot.org/28380 )
Change subject: [WIP] Nvidia Optimus support for ThinkPads
......................................................................
Patch Set 7:
> Just some additional information if someone finds it useful:
> nvidia proprietary driver won't work unless the _ROM method is
> implemented. This is true even for qemu/kvm guest to which you can
> pass the pci-rom argument. That is sufficient for nouveau though.
>
> Related threads:
> https://old.reddit.com/r/VFIO/comments/6q7bf5/short_report_wip_got_the_nvid…
> https://github.com/jscinoz/optimus-vfio-docs
Thanks, I'll check this.
--
To view, visit https://review.coreboot.org/28380
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I277808d6c1d8bd6e0a267a53f25471597698f8d5
Gerrit-Change-Number: 28380
Gerrit-PatchSet: 7
Gerrit-Owner: Evgeny Zinoviev <me(a)ch1p.com>
Gerrit-Reviewer: Evgeny Zinoviev <me(a)ch1p.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Anonymous Coward (1002090)
Gerrit-Comment-Date: Thu, 30 Aug 2018 20:29:15 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Evgeny Zinoviev has posted comments on this change. ( https://review.coreboot.org/28380 )
Change subject: [WIP] Nvidia Optimus support for ThinkPads
......................................................................
Patch Set 7:
(1 comment)
https://review.coreboot.org/#/c/28380/7//COMMIT_MSG
Commit Message:
https://review.coreboot.org/#/c/28380/7//COMMIT_MSG@41
PS7, Line 41: - VGA ROM for Nvidia GPU is not loaded from BIOS (i.e. coreboot). Need
> I think I know why it doesn't work. […]
Yes, I edited the device id and it works now, so I guess we can remove it from the list of "known problems". But we should document it later.
--
To view, visit https://review.coreboot.org/28380
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I277808d6c1d8bd6e0a267a53f25471597698f8d5
Gerrit-Change-Number: 28380
Gerrit-PatchSet: 7
Gerrit-Owner: Evgeny Zinoviev <me(a)ch1p.com>
Gerrit-Reviewer: Evgeny Zinoviev <me(a)ch1p.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Anonymous Coward (1002090)
Gerrit-Comment-Date: Thu, 30 Aug 2018 20:28:36 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No