coreboot-kgpe-d16/src/drivers/intel
Subrata Banik 790b5cf442 {commonlib, libpayload}: Add "has_external_display" in coreboot table
This patch introduces a new coreboot table entry named
"has_external_display" to understand if external display is attached.

This information is useful to prevent graceful shutdown by payload
when the LID is closed but an external display is present.

This piece of the information will be gathered by coreboot and passed
into the payload using this new entry aka external_display because
payload (i.e., deptcharge) doesn't have any other way to determine
if external display is available.

BUG=b:299137940
TEST=Able to build and boot google/rex.

w/o this patch:

LID closed and external display attached (HDMI) in developer mode
  (GBB 0x39):

> System is powered off by depthcharge

w/ this patch:

LID closed and external display attached (HDMI) in developer mode
  (GBB 0x39):

> Booted to OS and device is alive/usable

Change-Id: I0fa7eee4c5a50371a7a66c6ca1ac2c7d046d010b
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77796
Reviewed-by: Eric Lai <ericllai@google.com>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-10-04 18:50:49 +00:00
..
dptf acpi: Comply with ACPI specification by making _STR unicode strings 2023-09-14 12:03:32 +00:00
fsp1_1 x86: Add .data section support for pre-memory stages 2023-09-14 21:02:07 +00:00
fsp2_0 {commonlib, libpayload}: Add "has_external_display" in coreboot table 2023-10-04 18:50:49 +00:00
gma drivers/intel/gma: Update port select bit definitions 2023-10-04 18:50:21 +00:00
i210 treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
ish {driver, soc/intel/cmn/cse}: Refactor ISH FW Version implementation 2023-08-18 20:20:03 +00:00
mipi_camera drivers/intel/mipi_camera: Add DRIVERS_INTEL_MIPI_SUPPORTS_PRE_PRODUCTION_SOC 2023-09-14 11:58:29 +00:00
pmc_mux drivers: Add SPDX license headers to Makefiles 2023-08-06 19:27:36 +00:00
ptt drivers: Add SPDX license headers to Makefiles 2023-08-06 19:27:36 +00:00
soundwire drivers: Add SPDX license headers to Makefiles 2023-08-06 19:27:36 +00:00
usb4/retimer drivers: Add SPDX license headers to Makefiles 2023-08-06 19:27:36 +00:00