2 * This confidential and proprietary software may be used only as
3 * authorised by a licensing agreement from ARM Limited
4 * (C) COPYRIGHT 2010-2013 ARM Limited
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.
12 * @file mali_device_pause_resume.c
13 * Implementation of the Mali pause/resume functionality
16 #include <linux/module.h>
17 #include <linux/mali/mali_utgard.h>
18 #include "mali_gp_scheduler.h"
19 #include "mali_pp_scheduler.h"
21 void mali_dev_pause(void)
23 mali_gp_scheduler_suspend();
24 mali_pp_scheduler_suspend();
25 mali_group_power_off(MALI_FALSE);
26 mali_l2_cache_pause_all(MALI_TRUE);
29 EXPORT_SYMBOL(mali_dev_pause);
31 void mali_dev_resume(void)
33 mali_l2_cache_pause_all(MALI_FALSE);
34 mali_gp_scheduler_resume();
35 mali_pp_scheduler_resume();
38 EXPORT_SYMBOL(mali_dev_resume);