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 <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49470
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Subrata Banik 2021-01-17 22:55:45 +05:30
parent cb9773443d
commit 0591348833
1 changed files with 9 additions and 0 deletions

View File

@ -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.