gma config: Turn Alder Lake into its own generation
It's not physically compatible to Tiger Lake. Hence no binary has
to support both and we can compile them separately. Also, the new
generation actually starts with Alder Lake P, so we name it accor-
dingly.
Change-Id: I66f01609326204d9a93a2206c048bd59bfdbef6b
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/libgfxinit/+/503
Reviewed-by: Thomas Heijligen <src@posteo.de>
Tested-by: Ada SPARK <gnatbot@sourcearcade.org>
diff --git a/common/hw-gfx-gma-config_helpers.adb b/common/hw-gfx-gma-config_helpers.adb
index 348c3e2..fab7145 100644
--- a/common/hw-gfx-gma-config_helpers.adb
+++ b/common/hw-gfx-gma-config_helpers.adb
@@ -58,7 +58,7 @@
when Primary => DIGI_B,
when Secondary => DIGI_C,
when Tertiary => DIGI_D)),
- when Tigerlake =>
+ when Tigerlake | AlderlakeP =>
(case Port is
when DP_TC1 | HDMI_TC1 | USBC1 => DDI_TC1,
when DP_TC2 | HDMI_TC2 | USBC2 => DDI_TC2,
@@ -68,7 +68,7 @@
Combo_PHY (Config.Panel_Ports (Panel_1)),
when others =>
Combo_PHY (Port)),
- when others => -- everything but VGA directly on CPU
+ when Haswell | Broxton | Skylake => -- everything but VGA directly on CPU
(case Port is
when LVDS => LVDS, -- n/a, actually
when eDP => DIGI_A,