From dd467bfc14aa5e1d27e87814588a871fec6aa51f Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Thu, 14 May 2020 17:45:29 -0500 Subject: drivers/intel/gma: Add override for presence straps A handful of boards do not properly implement the presence straps, leading libgfxinit to fail to detect an attached display. Add an override, defaulting to N, which can be set for affected boards. Add a section to the documentation detailing the option and its usage. Signed-off-by: Matt DeVillier Change-Id: I43c61d67147878887658b23d90fb1c0b91e7a2af Reviewed-on: https://review.coreboot.org/c/coreboot/+/41416 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/drivers/intel/gma/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/drivers/intel/gma/Kconfig') diff --git a/src/drivers/intel/gma/Kconfig b/src/drivers/intel/gma/Kconfig index ad44a2f480..635de1c87a 100644 --- a/src/drivers/intel/gma/Kconfig +++ b/src/drivers/intel/gma/Kconfig @@ -127,4 +127,11 @@ config GFX_GMA_ANALOG_I2C_PORT digital displays. In that case, the EDID for a VGA display has to be read over the I2C interface of the coupled digital port. +config GFX_GMA_IGNORE_PRESENCE_STRAPS + def_bool n + help + libgfxinit uses the GPU presence straps to determine if a display port + is present/enabled. Select this option if a board doesn't correctly implement + these straps, causing libgfxinit to fail to detect an attached panel. + endif -- cgit v1.2.3