blob: c468ca32b7bbee877ed442b87ed3a2c54546f168 [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
Dennis Wassenbergbd105162015-09-10 12:20:58 +02003with HW.GFX.GMA;
Nico Huber989aae92017-03-08 23:03:01 +01004with HW.GFX.GMA.Display_Probing;
Dennis Wassenbergbd105162015-09-10 12:20:58 +02005
6use HW.GFX.GMA;
Nico Huber989aae92017-03-08 23:03:01 +01007use HW.GFX.GMA.Display_Probing;
Dennis Wassenbergbd105162015-09-10 12:20:58 +02008
9private 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 Huber4ce52902020-02-15 17:56:01 +010013 -- have a high-resolution display attached first, `eDP` last.
Dennis Wassenbergbd105162015-09-10 12:20:58 +020014
15 ports : constant Port_List :=
16 (DP2,
17 DP3,
Nico Huber989aae92017-03-08 23:03:01 +010018 HDMI2,
19 HDMI3,
Dennis Wassenbergbd105162015-09-10 12:20:58 +020020 Analog,
Nico Huber4ce52902020-02-15 17:56:01 +010021 eDP,
Dennis Wassenbergbd105162015-09-10 12:20:58 +020022 others => Disabled);
23
24end GMA.Mainboard;