blob: 2762d821feceb860db7e95cd398158d431f5babc [file] [log] [blame]
Nico Huber83693c82016-10-08 22:17:55 +02001--
2-- Copyright (C) 2016 secunet Security Networks AG
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
Nico Huber125a29e2016-10-18 00:23:54 +02006-- the Free Software Foundation; either version 2 of the License, or
7-- (at your option) any later version.
Nico Huber83693c82016-10-08 22:17:55 +02008--
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
Nico Huberd0f84b92019-09-22 21:31:52 +020015with HW.GFX.GMA.Config_Helpers;
16
Nico Huber83693c82016-10-08 22:17:55 +020017private package HW.GFX.GMA.Power_And_Clocks_Haswell is
18
19 procedure PSR_Off;
20
21 procedure Pre_All_Off;
22 procedure Post_All_Off is null;
23
24 procedure Initialize;
25
Nico Huberd0f84b92019-09-22 21:31:52 +020026 procedure Limit_Dotclocks
27 (Configs : in out Pipe_Configs;
28 CDClk_Switch : out Boolean)
29 with
30 Post => Config_Helpers.Stable_FB (Configs'Old, Configs);
31 procedure Update_CDClk (Configs : in out Pipe_Configs)
32 with
33 Post => Config_Helpers.Stable_FB (Configs'Old, Configs);
34 procedure Enable_CDClk is null;
35
Nico Huber99f10f32016-11-20 00:34:05 +010036 procedure Power_Set_To (Configs : Pipe_Configs);
37 procedure Power_Up (Old_Configs, New_Configs : Pipe_Configs);
38 procedure Power_Down (Old_Configs, Tmp_Configs, New_Configs : Pipe_Configs);
Nico Huber83693c82016-10-08 22:17:55 +020039
40end HW.GFX.GMA.Power_And_Clocks_Haswell;