gma config: Introduce Has_Tertiary_Pipe
And use it instead of `Supported_Pipe`.
Change-Id: Id3c4bdaf0d6b6c6126692b00cbabaf7d3f85b4bf
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/27048
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/common/hw-gfx-gma-config_helpers.adb b/common/hw-gfx-gma-config_helpers.adb
index b7f4833..57163a6 100644
--- a/common/hw-gfx-gma-config_helpers.adb
+++ b/common/hw-gfx-gma-config_helpers.adb
@@ -131,7 +131,7 @@
is
begin
Success :=
- Config.Supported_Pipe (Pipe) and then
+ (Config.Has_Tertiary_Pipe or Pipe <= Secondary) and then
Config.Valid_Port (Port) and then
Port /= Disabled; -- Valid_Port should already cover this, but the
-- array is writeable, so it's hard to prove this.