blob: 7172b5992bb394820d18ef9336bd3faa676903cd [file] [log] [blame]
Angel Ponsc67e4db2020-03-18 23:26:07 +01001-- SPDX-License-Identifier: GPL-2.0-or-later
Martin Rothb28f4662018-05-26 17:58:47 -06002
Nicola Corna1bea5b72017-03-03 18:04:48 +01003with HW.GFX.GMA;
Nico Huberb7f28702017-04-18 21:44:50 +02004with HW.GFX.GMA.Display_Probing;
Nicola Corna1bea5b72017-03-03 18:04:48 +01005
6use HW.GFX.GMA;
Nico Huberb7f28702017-04-18 21:44:50 +02007use HW.GFX.GMA.Display_Probing;
Nicola Corna1bea5b72017-03-03 18:04:48 +01008
9private package GMA.Mainboard is
10
11 -- For a three-pipe setup, bandwidth is shared between the 2nd and
Nico Huberb7f28702017-04-18 21:44:50 +020012 -- the 3rd pipe. Thus, probe ports that likely have a high-resolution
13 -- display attached first.
Nicola Corna1bea5b72017-03-03 18:04:48 +010014
Nico Huberb7f28702017-04-18 21:44:50 +020015 -- FIXME: Only one of the digital ports is implemented as DP
16 -- but it's unknown which.
Nicola Corna1bea5b72017-03-03 18:04:48 +010017 ports : constant Port_List :=
Nico Huberb7f28702017-04-18 21:44:50 +020018 (DP1,
19 DP2,
Nicola Corna1bea5b72017-03-03 18:04:48 +010020 DP3,
Nico Huberb7f28702017-04-18 21:44:50 +020021 HDMI1,
22 HDMI2,
23 HDMI3,
Nicola Corna1bea5b72017-03-03 18:04:48 +010024 Analog,
Nicola Corna1bea5b72017-03-03 18:04:48 +010025 others => Disabled);
26
27end GMA.Mainboard;