Issue #501 has been reported by Timo J..

----------------------------------------
Support #501: Adding Hybrid GPU mode to my Clevo PC70HR (System76 Oryp 8)
https://ticket.coreboot.org/issues/501

* Author: Timo J.
* Status: New
* Priority: Low
* Category: chipset configuration
* Target version: master
* Start date: 2023-07-31
* Affected versions: master
* Needs backport to: master
* Related links: 
https://www.e-weekly.co.uk/download/rnd/drivers/clevo/pcxxhxx/esm7.pdf
https://www.coreboot.org/Board:lenovo/Nvidia_Optimus
https://github.com/coreboot/coreboot/tree/master/src/mainboard/system76/tgl-h/variants/oryp8
https://github.com/coreboot/coreboot/tree/master/src/mainboard/lenovo/t430
* Affected hardware: Clevo PC70HR
----------------------------------------
Hello there

I'm trying to add support for the GPU MUX in my notebook but, i also seen it 
implemented in the Lenovo notebooks, and the GPIO also seems to be registered 
in my notebook, but it didn't take any use of it.

in the file "coreboot/src/mainboard/system76/tgl-h/variants/oryp8/gpio.c" is 
following to find
`       PAD_CFG_GPI(GPP_R16, NONE, DEEP), // BL_PWM_EN_EC
        PAD_CFG_GPI(GPP_R17, NONE, DEEP), // PLVDD_RST_EC
        PAD_CFG_GPI(GPP_R18, NONE, DEEP), // MUX_CTRL_BIOS
        PAD_CFG_GPI(GPP_R19, NONE, DEEP), // PS8461_SW`

soo the GPIOs for the MUX exist
and from the schematics i can see the MUX and how its connected
![](optimus.png)

the Lenovo T430 got this in its devicetree.cb

`       chip drivers/lenovo/hybrid_graphics
                device pnp ff.f on end # dummy
                register "detect_gpio" = "21"
                register "has_panel_hybrid_gpio" = "1"
                register "panel_hybrid_gpio" = "52"
                register "panel_integrated_lvl" = "1"
                register "has_backlight_gpio" = "0"
                register "has_dgpu_power_gpio" = "0"
                register "has_thinker1" = "1"
        end`

but mine doesn't

can you someone of you maybe give me a little advise how to do it? i really 
don't wanna break anything.

---Files--------------------------------
optimus.png (531 KB)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to