xref: /aosp_15_r20/external/coreboot/src/drivers/intel/gma/libgfxinit.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef DRIVERS_INTEL_GMA_LIBGFXINIT_H
4 #define DRIVERS_INTEL_GMA_LIBGFXINIT_H
5 
6 enum {
7 	GMA_PORT_DISABLED,
8 	GMA_PORT_LVDS,
9 	GMA_PORT_EDP,
10 	GMA_PORT_DP1,
11 	GMA_PORT_DP2,
12 	GMA_PORT_DP3,
13 	GMA_PORT_HDMI1,	/* or DVI */
14 	GMA_PORT_HDMI2,	/* or DVI */
15 	GMA_PORT_HDMI3,	/* or DVI */
16 	GMA_PORT_ANALOG,
17 };
18 
19 void gma_gfxinit(int *lightup_ok);
20 void gma_gfxstop(void);
21 int gma_read_edid(unsigned char edid[], int port);
22 
23 #endif
24