From 0591348833f730a42e74039d8e2d957ec94a39d5 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Sun, 17 Jan 2021 22:55:45 +0530 Subject: soc/intel/common/graphics: Add new Kconfig SOC_INTEL_DISABLE_IGD This SOC_INTEL_DISABLE_IGD Kconfig will allow to skip IGD initialization using FSP GOP and eventually disable the IGD. TEST=Able to get depthcharge pre-OS splash screen when mainboard user selects SOC_INTEL_DISABLE_IGD with below HW/FW/SW configuration: HW: ADLRVP + AMD Radeon RX 5700 PCI-E DGPU FW: coreboot with depthcharge as payload for ADLRVP and OpRom for AMD PCI-E DGPU SW: Chrome OS RC10 release Change-Id: I465541cb45c9022d53a5beb3fff1f80660c357c9 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/49470 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/soc/intel/common/block/graphics/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/soc/intel') diff --git a/src/soc/intel/common/block/graphics/Kconfig b/src/soc/intel/common/block/graphics/Kconfig index e632cb9bb0..8288150a73 100644 --- a/src/soc/intel/common/block/graphics/Kconfig +++ b/src/soc/intel/common/block/graphics/Kconfig @@ -7,3 +7,12 @@ config SOC_INTEL_CONFIGURE_DDI_A_4_LANES bool help Selected by platforms that require DDI-A bifurcation setup. + +config SOC_INTEL_DISABLE_IGD + bool "Disable Integrated GFX Controller (0:2:0)" + default n + select MAINBOARD_NO_FSP_GOP + help + Selected by mainboard user that need to skip IGD initialization + where OS can only use one GPU hence need to disable IGD and don't + need to run FSP GOP. -- cgit v1.2.3