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 | |
Nicola Corna | 1bea5b7 | 2017-03-03 18:04:48 +0100 | [diff] [blame] | 3 | with HW.GFX.GMA; |
Nico Huber | b7f2870 | 2017-04-18 21:44:50 +0200 | [diff] [blame] | 4 | with HW.GFX.GMA.Display_Probing; |
Nicola Corna | 1bea5b7 | 2017-03-03 18:04:48 +0100 | [diff] [blame] | 5 | |
6 | use HW.GFX.GMA; | ||||
Nico Huber | b7f2870 | 2017-04-18 21:44:50 +0200 | [diff] [blame] | 7 | use HW.GFX.GMA.Display_Probing; |
Nicola Corna | 1bea5b7 | 2017-03-03 18:04:48 +0100 | [diff] [blame] | 8 | |
9 | private package GMA.Mainboard is | ||||
10 | |||||
11 | -- For a three-pipe setup, bandwidth is shared between the 2nd and | ||||
Nico Huber | b7f2870 | 2017-04-18 21:44:50 +0200 | [diff] [blame] | 12 | -- the 3rd pipe. Thus, probe ports that likely have a high-resolution |
13 | -- display attached first. | ||||
Nicola Corna | 1bea5b7 | 2017-03-03 18:04:48 +0100 | [diff] [blame] | 14 | |
Nico Huber | b7f2870 | 2017-04-18 21:44:50 +0200 | [diff] [blame] | 15 | -- FIXME: Only one of the digital ports is implemented as DP |
16 | -- but it's unknown which. | ||||
Nicola Corna | 1bea5b7 | 2017-03-03 18:04:48 +0100 | [diff] [blame] | 17 | ports : constant Port_List := |
Nico Huber | b7f2870 | 2017-04-18 21:44:50 +0200 | [diff] [blame] | 18 | (DP1, |
19 | DP2, | ||||
Nicola Corna | 1bea5b7 | 2017-03-03 18:04:48 +0100 | [diff] [blame] | 20 | DP3, |
Nico Huber | b7f2870 | 2017-04-18 21:44:50 +0200 | [diff] [blame] | 21 | HDMI1, |
22 | HDMI2, | ||||
23 | HDMI3, | ||||
Nicola Corna | 1bea5b7 | 2017-03-03 18:04:48 +0100 | [diff] [blame] | 24 | Analog, |
Nicola Corna | 1bea5b7 | 2017-03-03 18:04:48 +0100 | [diff] [blame] | 25 | others => Disabled); |
26 | |||||
27 | end GMA.Mainboard; |