import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / misc / mediatek / gpu / mt8127 / mali / mali / common / mali_pm.h
1 /*
2 * This confidential and proprietary software may be used only as
3 * authorised by a licensing agreement from ARM Limited
4 * (C) COPYRIGHT 2011-2013 ARM Limited
5 * ALL RIGHTS RESERVED
6 * The entire notice above must be reproduced on all authorised
7 * copies and copies may only be made to the extent permitted
8 * by a licensing agreement from ARM Limited.
9 */
10
11 #ifndef __MALI_PM_H__
12 #define __MALI_PM_H__
13
14 #include "mali_osk.h"
15
16 _mali_osk_errcode_t mali_pm_initialize(void);
17 void mali_pm_terminate(void);
18
19 /* Callback functions registered for the runtime PMM system */
20 void mali_pm_os_suspend(void);
21 void mali_pm_os_resume(void);
22 void mali_pm_runtime_suspend(void);
23 void mali_pm_runtime_resume(void);
24
25 void mali_pm_set_power_is_on(void);
26 mali_bool mali_pm_is_power_on(void);
27
28 #endif /* __MALI_PM_H__ */