| Nico Huber | 21da574 | 2017-01-20 14:00:53 +0100 | [diff] [blame] | 1 | -- |
| 2 | -- Copyright (C) 2016-2017 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 |
| 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 | |
| Nico Huber | 8469b00 | 2019-09-22 21:31:52 +0200 | [diff] [blame^] | 15 | with HW.GFX.GMA.Config_Helpers; |
| 16 | |
| Nico Huber | 21da574 | 2017-01-20 14:00:53 +0100 | [diff] [blame] | 17 | private package HW.GFX.GMA.Power_And_Clocks is |
| 18 | |
| Nico Huber | 4082044 | 2017-01-20 14:00:53 +0100 | [diff] [blame] | 19 | procedure Pre_All_Off; |
| 20 | procedure Post_All_Off; |
| Nico Huber | 21da574 | 2017-01-20 14:00:53 +0100 | [diff] [blame] | 21 | |
| Nico Huber | 4082044 | 2017-01-20 14:00:53 +0100 | [diff] [blame] | 22 | procedure Initialize; |
| Nico Huber | 21da574 | 2017-01-20 14:00:53 +0100 | [diff] [blame] | 23 | |
| Nico Huber | 8469b00 | 2019-09-22 21:31:52 +0200 | [diff] [blame^] | 24 | procedure Limit_Dotclocks |
| 25 | (Configs : in out Pipe_Configs; |
| 26 | CDClk_Switch : out Boolean) |
| 27 | with |
| 28 | Post => Config_Helpers.Stable_FB (Configs'Old, Configs); |
| 29 | procedure Update_CDClk (Configs : in out Pipe_Configs) |
| 30 | with |
| 31 | Post => Config_Helpers.Stable_FB (Configs'Old, Configs); |
| 32 | procedure Enable_CDClk; |
| 33 | |
| Nico Huber | 4082044 | 2017-01-20 14:00:53 +0100 | [diff] [blame] | 34 | procedure Power_Set_To (Configs : Pipe_Configs); |
| 35 | procedure Power_Up (Old_Configs, New_Configs : Pipe_Configs); |
| 36 | procedure Power_Down (Old_Configs, Tmp_Configs, New_Configs : Pipe_Configs); |
| Nico Huber | 21da574 | 2017-01-20 14:00:53 +0100 | [diff] [blame] | 37 | |
| 38 | end HW.GFX.GMA.Power_And_Clocks; |