| Nico Huber | 8c45bcf | 2016-11-20 17:30:57 +0100 | [diff] [blame] | 1 | -- |
| 2 | -- Copyright (C) 2015-2016 secunet Security Networks AG |
| 3 | -- |
| 4 | -- This program is free software; you can redistribute it and/or modify |
| 5 | -- it under the terms of the GNU General Public License as published by |
| 6 | -- the Free Software Foundation; either version 2 of the License, or |
| 7 | -- (at your option) any later version. |
| 8 | -- |
| 9 | -- This program is distributed in the hope that it will be useful, |
| 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | -- GNU General Public License for more details. |
| 13 | -- |
| 14 | |
| 15 | package HW.GFX.GMA.Display_Probing |
| 16 | is |
| 17 | |
| 18 | type Port_List_Range is range 0 .. 7; |
| 19 | type Port_List is array (Port_List_Range) of Port_Type; |
| Nico Huber | 4c7356d | 2016-12-16 14:22:32 +0100 | [diff] [blame^] | 20 | All_Ports : constant Port_List := |
| 21 | (DP1, DP2, DP3, HDMI1, HDMI2, HDMI3, Analog, Internal); |
| Nico Huber | 8c45bcf | 2016-11-20 17:30:57 +0100 | [diff] [blame] | 22 | |
| 23 | procedure Scan_Ports |
| Nico Huber | 4c7356d | 2016-12-16 14:22:32 +0100 | [diff] [blame^] | 24 | (Configs : out Pipe_Configs; |
| 25 | Ports : in Port_List := All_Ports; |
| 26 | Max_Pipe : in Pipe_Index := Pipe_Index'Last; |
| 27 | Keep_Power : in Boolean := False); |
| Nico Huber | 8c45bcf | 2016-11-20 17:30:57 +0100 | [diff] [blame] | 28 | |
| 29 | end HW.GFX.GMA.Display_Probing; |