| 1 |
-- SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
with HW.GFX.GMA; |
| 4 |
with HW.GFX.GMA.Display_Probing; |
| 5 |
|
| 6 |
use HW.GFX.GMA; |
| 7 |
use HW.GFX.GMA.Display_Probing; |
| 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 |
| 13 |
-- have a high-resolution display attached first, `eDP` last. |
| 14 |
|
| 15 |
ports : constant Port_List := |
| 16 |
(DP2, |
| 17 |
DP3, |
| 18 |
HDMI1, |
| 19 |
HDMI2, |
| 20 |
HDMI3, |
| 21 |
Analog, |
| 22 |
LVDS, |
| 23 |
eDP, |
| 24 |
others => Disabled); |
| 25 |
|
| 26 |
end GMA.Mainboard; |