Add a driver for laptops with NVIDIA Optimus (hybrid) graphics. The driver provides ACPI support for dynamically powering on and off the GPU, NVIDIA Dynamic Boost support, and a function for enabling the GPU power in romstage. References: - DG-09845-001: NVIDIA GN20/QN20 Hardware Design Guide - DG-09954-001: NVIDIA GN20/QN20 Software Design Guide Change-Id: I2dec7aa2c8db7994f78a7cc1220502676e248465 Signed-off-by: Jeremy Soller <jeremy@system76.com> Signed-off-by: Tim Crawford <tcrawford@system76.com>
39 lines
1003 B
Plaintext
39 lines
1003 B
Plaintext
config DRIVERS_GFX_NVIDIA
|
|
bool
|
|
default n
|
|
help
|
|
Support for NVIDIA Optimus graphics
|
|
|
|
config DRIVERS_GFX_NVIDIA_BRIDGE
|
|
hex "PCI bridge for the GPU device"
|
|
default 0x01
|
|
depends on DRIVERS_GFX_NVIDIA
|
|
|
|
config DRIVERS_GFX_NVIDIA_DYNAMIC_BOOST
|
|
depends on DRIVERS_GFX_NVIDIA
|
|
bool
|
|
default n
|
|
help
|
|
Support for NVIDIA Dynamic Boost
|
|
|
|
config DRIVERS_GFX_NVIDIA_DYNAMIC_BOOST_TPP
|
|
int "Total processor power offset from default TGP in watts"
|
|
default 45
|
|
depends on DRIVERS_GFX_NVIDIA_DYNAMIC_BOOST
|
|
help
|
|
This identifies the available power for the CPU or GPU boost
|
|
|
|
config DRIVERS_GFX_NVIDIA_DYNAMIC_BOOST_MIN
|
|
int "Minimum TGP offset from default TGP in watts"
|
|
default 0
|
|
depends on DRIVERS_GFX_NVIDIA_DYNAMIC_BOOST
|
|
help
|
|
This is used to transfer power from the GPU to the CPU
|
|
|
|
config DRIVERS_GFX_NVIDIA_DYNAMIC_BOOST_MAX
|
|
int "Maximum TGP offset from default TGP in watts"
|
|
default 0
|
|
depends on DRIVERS_GFX_NVIDIA_DYNAMIC_BOOST
|
|
help
|
|
This is used to transfer power from the CPU to the GPU
|