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:
@@ -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
|
||||
|
Reference in New Issue
Block a user