gma: Get rid of Get_Pipe_Hint()
Now that we call it `Pipe_Index` passing that around makes more sense.
Change-Id: I59460274860dc5d135662aa978acc1603b510eb6
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/17932
Tested-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
diff --git a/common/hw-gfx-gma.adb b/common/hw-gfx-gma.adb
index 8d304b6..898ce56 100644
--- a/common/hw-gfx-gma.adb
+++ b/common/hw-gfx-gma.adb
@@ -193,11 +193,10 @@
(New_Config.Port in Active_Port_Type);
Connectors.Pre_On
- (Port_Cfg => Port_Cfg,
- PLL_Hint => PLLs.Register_Value
- (Allocated_PLLs (I)),
- Pipe_Hint => Display_Controller.Get_Pipe_Hint (I),
- Success => Success);
+ (Pipe => I,
+ Port_Cfg => Port_Cfg,
+ PLL_Hint => PLLs.Register_Value (Allocated_PLLs (I)),
+ Success => Success);
if Success then
Display_Controller.On