Angel Pons | 8a3453f | 2020-04-02 23:48:19 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Nico Huber | 1822816 | 2017-06-08 16:31:57 +0200 | [diff] [blame] | 2 | |
| 3 | #ifndef DRIVERS_INTEL_GMA_LIBGFXINIT_H |
| 4 | #define DRIVERS_INTEL_GMA_LIBGFXINIT_H |
| 5 | |
Nico Huber | b92c4e3 | 2019-02-18 01:25:58 +0100 | [diff] [blame] | 6 | enum { |
| 7 | GMA_PORT_DISABLED, |
Nico Huber | 4ce5290 | 2020-02-15 17:56:01 +0100 | [diff] [blame] | 8 | GMA_PORT_LVDS, |
| 9 | GMA_PORT_EDP, |
Nico Huber | b92c4e3 | 2019-02-18 01:25:58 +0100 | [diff] [blame] | 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 | |
Nico Huber | 504d1ef | 2017-07-16 16:40:41 +0200 | [diff] [blame] | 19 | void gma_gfxinit(int *lightup_ok); |
Nico Huber | b92c4e3 | 2019-02-18 01:25:58 +0100 | [diff] [blame] | 20 | int gma_read_edid(unsigned char edid[], int port); |
Nico Huber | 1822816 | 2017-06-08 16:31:57 +0200 | [diff] [blame] | 21 | |
| 22 | #endif |