gma connectors: Add `Pipe' parameter to Pre_/Post_Off procedures
Change-Id: I01dbf3cae3dfef2130fa10116f70f23238c7a48c
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.sourcearcade.org/c/libgfxinit/+/467
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: Nico Huber <nico.h@gmx.de>
diff --git a/common/hw-gfx-gma.adb b/common/hw-gfx-gma.adb
index 2a7b7a6..1def7e9 100644
--- a/common/hw-gfx-gma.adb
+++ b/common/hw-gfx-gma.adb
@@ -208,7 +208,7 @@
if not Success then
Display_Controller.Off (Pipe);
- Connectors.Post_Off (Port_Cfg);
+ Connectors.Post_Off (Pipe, Port_Cfg);
end if;
end if;
@@ -252,9 +252,9 @@
Display_Controller.Legacy_VGA_Off;
end if;
- Connectors.Pre_Off (Port_Cfg);
+ Connectors.Pre_Off (Pipe, Port_Cfg);
Display_Controller.Off (Pipe);
- Connectors.Post_Off (Port_Cfg);
+ Connectors.Post_Off (Pipe, Port_Cfg);
PLLs.Free (Allocated_PLLs (Pipe));
end if;