2 * Copyright (C) 2010-2015 ARM Limited. All rights reserved.
4 * This program is free software and is provided to you under the terms of the GNU General Public License version 2
5 * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
7 * A copy of the licence is included with the program, and can also be obtained from Free Software
8 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
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>
20 void mali_dev_pause(void)
23 * Deactive all groups to prevent hardware being touched
24 * during the period of mali device pausing
26 mali_pm_os_suspend(MALI_FALSE);
29 EXPORT_SYMBOL(mali_dev_pause);
31 void mali_dev_resume(void)
36 EXPORT_SYMBOL(mali_dev_resume);