summaryrefslogtreecommitdiff
path: root/src/drivers/intel/gma/libgfxinit.h
diff options
context:
space:
mode:
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