blob: cad2898517e68161889085fcd41745c441b9dc55 [file] [log] [blame]
Arthur Heymans960e2392026-03-03 19:45:24 +01001--
2-- Copyright (C) 2026 Arthur Heymans <arthur@aheymans.xyz>
3--
4-- This program is free software; you can redistribute it and/or modify
5-- it under the terms of the GNU General Public License as published by
6-- the Free Software Foundation; either version 2 of the License, or
7-- (at your option) any later version.
8--
9-- This program is distributed in the hope that it will be useful,
10-- but WITHOUT ANY WARRANTY; without even the implied warranty of
11-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-- GNU General Public License for more details.
13--
14
15with HW.GFX.GMA.Config_Helpers;
16
17private package HW.GFX.GMA.Power_And_Clocks is
18
19 procedure Initialize;
20
21 procedure Limit_Dotclocks
22 (Configs : in out Pipe_Configs;
23 CDClk_Switch : out Boolean)
24 with
25 Post =>
26 not CDClk_Switch and
27 Config_Helpers.Stable_FB (Configs'Old, Configs);
28 procedure Update_CDClk (Configs : in out Pipe_Configs) is null;
29 procedure Enable_CDClk is null;
30
31 procedure Pre_All_Off is null;
32
33 procedure Post_All_Off is null;
34
35 procedure Power_Set_To (Configs : Pipe_Configs) is null;
36
37 procedure Power_Up (Old_Configs, New_Configs : Pipe_Configs) is null;
38
39 procedure Power_Down (Old_Configs, Tmp_Configs, New_Configs : Pipe_Configs)
40 is null;
41
42end HW.GFX.GMA.Power_And_Clocks;