gma display_probing: Make new TGL ports available
Make all the new ports available that were added to `Port_Type` in
commit ad09609c677b (gma: Re-structure TC port types).
Change-Id: I9d96673f931be0086536044694ecd127ba2a823d
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.sourcearcade.org/c/libgfxinit/+/457
Tested-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
diff --git a/common/hw-gfx-gma-display_probing.ads b/common/hw-gfx-gma-display_probing.ads
index 5dcdbd4..9c59652 100644
--- a/common/hw-gfx-gma-display_probing.ads
+++ b/common/hw-gfx-gma-display_probing.ads
@@ -17,10 +17,13 @@
package HW.GFX.GMA.Display_Probing
is
- type Port_List_Range is range 0 .. 8;
+ type Port_List_Range is range 0 .. 20;
type Port_List is array (Port_List_Range) of Port_Type;
All_Ports : constant Port_List :=
- (DP1, DP2, DP3, HDMI1, HDMI2, HDMI3, Analog, LVDS, eDP);
+ (DP1, DP2, DP3, DP_TC1, DP_TC2, DP_TC3, DP_TC4,
+ HDMI1, HDMI2, HDMI3, HDMI_TC1, HDMI_TC2, HDMI_TC3, HDMI_TC4,
+ USBC1, USBC2, USBC3, USBC4,
+ Analog, LVDS, eDP);
procedure Read_EDID
(Raw_EDID : out EDID.Raw_EDID_Data;