gma display_probing: Add Hotplug_Events()
The Hotplug_Events() procedure returns a list of ports with hotplug
events. The events are automatically cleared, so it's the caller's
responsibility to act accordingly (e.g. run Update_Outputs() with
updated configurations).
Change-Id: Iff5e812d3119bfd44f5ea58e5086aa3ccba7c0bf
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/libgfxinit/+/35720
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
diff --git a/common/hw-gfx-gma-display_probing.ads b/common/hw-gfx-gma-display_probing.ads
index e51de88..5e8abe4 100644
--- a/common/hw-gfx-gma-display_probing.ads
+++ b/common/hw-gfx-gma-display_probing.ads
@@ -35,4 +35,6 @@
Max_Pipe : in Pipe_Index := Pipe_Index'Last;
Keep_Power : in Boolean := False);
+ procedure Hotplug_Events (Ports : out Port_List);
+
end HW.GFX.GMA.Display_Probing;