Angel Pons | c67e4db | 2020-03-18 23:26:07 +0100 | [diff] [blame] | 1 | -- SPDX-License-Identifier: GPL-2.0-or-later |
Martin Roth | b28f466 | 2018-05-26 17:58:47 -0600 | [diff] [blame] | 2 | |
Dennis Wassenberg | bd10516 | 2015-09-10 12:20:58 +0200 | [diff] [blame] | 3 | with HW.GFX.GMA; |
Nico Huber | 989aae9 | 2017-03-08 23:03:01 +0100 | [diff] [blame] | 4 | with HW.GFX.GMA.Display_Probing; |
Dennis Wassenberg | bd10516 | 2015-09-10 12:20:58 +0200 | [diff] [blame] | 5 | |
| 6 | use HW.GFX.GMA; |
Nico Huber | 989aae9 | 2017-03-08 23:03:01 +0100 | [diff] [blame] | 7 | use HW.GFX.GMA.Display_Probing; |
Dennis Wassenberg | bd10516 | 2015-09-10 12:20:58 +0200 | [diff] [blame] | 8 | |
| 9 | private package GMA.Mainboard is |
| 10 | |
| 11 | -- For a three-pipe setup, bandwidth is shared between the 2nd and |
| 12 | -- the 3rd pipe (if it's not eDP). Thus, probe ports that likely |
Nico Huber | 4ce5290 | 2020-02-15 17:56:01 +0100 | [diff] [blame] | 13 | -- have a high-resolution display attached first, `eDP` last. |
Dennis Wassenberg | bd10516 | 2015-09-10 12:20:58 +0200 | [diff] [blame] | 14 | |
| 15 | ports : constant Port_List := |
| 16 | (DP2, |
| 17 | DP3, |
Nico Huber | 989aae9 | 2017-03-08 23:03:01 +0100 | [diff] [blame] | 18 | HDMI2, |
| 19 | HDMI3, |
Dennis Wassenberg | bd10516 | 2015-09-10 12:20:58 +0200 | [diff] [blame] | 20 | Analog, |
Nico Huber | 4ce5290 | 2020-02-15 17:56:01 +0100 | [diff] [blame] | 21 | eDP, |
Dennis Wassenberg | bd10516 | 2015-09-10 12:20:58 +0200 | [diff] [blame] | 22 | others => Disabled); |
| 23 | |
| 24 | end GMA.Mainboard; |