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>
This commit is contained in:
Nico Huber
2019-02-18 01:25:58 +01:00
parent 3071c8114a
commit b92c4e3683
5 changed files with 67 additions and 2 deletions

View File

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