Fix NVIDIA GPU on bonw15

Change-Id: Idc5761dd63959e5997387168f5ac68eac2da0217
This commit is contained in:
Jeremy Soller
2023-03-30 16:22:54 -06:00
parent 9c5b6e1a01
commit a9410dbcc6
2 changed files with 13 additions and 6 deletions

View File

@ -133,3 +133,10 @@ config USE_PM_ACPI_TIMER
default n
endif
if BOARD_SYSTEM76_BONW15
config DRIVERS_GFX_NVIDIA_BRIDGE
default 0x02
endif

View File

@ -14,15 +14,15 @@ Scope (\_SB) {
#include "backlight.asl"
#if CONFIG(DRIVERS_GFX_NVIDIA)
#if CONFIG(SOC_INTEL_ALDERLAKE_PCH_S)
Scope (PEG1) {
#include <drivers/gfx/nvidia/acpi/tigerlake.asl>
}
#else // CONFIG(SOC_INTEL_ALDERLAKE_PCH_S)
#if CONFIG(SOC_INTEL_ALDERLAKE_PCH_P) || CONFIG(BOARD_SYSTEM76_BONW15)
Scope (PEG2) {
#include <drivers/gfx/nvidia/acpi/tigerlake.asl>
}
#endif // CONFIG(SOC_INTEL_ALDERLAKE_PCH_S)
#else
Scope (PEG1) {
#include <drivers/gfx/nvidia/acpi/tigerlake.asl>
}
#endif
#endif // CONFIG(DRIVERS_GFX_NVIDIA)
}
}