summaryrefslogtreecommitdiff
path: root/src/drivers/intel/gma/libgfxinit.h
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-02-18 01:25:58 +0100
committerNico Huber <nico.h@gmx.de>2019-08-05 16:12:53 +0000
commitb92c4e36837635252c0d2eddf381dc87edfb06c0 (patch)
tree083f8dd8220376ea20bb23535eae10adabf477b8 /src/drivers/intel/gma/libgfxinit.h
parent3071c8114a8ea29b66916b9207d8ac07aad3b676 (diff)
drivers/intel/gma: Export Read_EDID() to C
Change-Id: Icf802904c569e621ca3b3105b6107936776c5cee Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31458 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/intel/gma/libgfxinit.h')
-rw-r--r--src/drivers/intel/gma/libgfxinit.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/drivers/intel/gma/libgfxinit.h b/src/drivers/intel/gma/libgfxinit.h
index c67870e4e0..c4a8a5b4d2 100644
--- a/src/drivers/intel/gma/libgfxinit.h
+++ b/src/drivers/intel/gma/libgfxinit.h
@@ -14,6 +14,19 @@
#ifndef DRIVERS_INTEL_GMA_LIBGFXINIT_H
#define DRIVERS_INTEL_GMA_LIBGFXINIT_H
+enum {
+ GMA_PORT_DISABLED,
+ GMA_PORT_INTERNAL,
+ GMA_PORT_DP1,
+ GMA_PORT_DP2,
+ GMA_PORT_DP3,
+ GMA_PORT_HDMI1, /* or DVI */
+ GMA_PORT_HDMI2, /* or DVI */
+ GMA_PORT_HDMI3, /* or DVI */
+ GMA_PORT_ANALOG,
+};
+
void gma_gfxinit(int *lightup_ok);
+int gma_read_edid(unsigned char edid[], int port);
#endif