From 871480933a1c28f8a9fed4c4d34d06c439a7a422 Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Sun, 11 Jan 2015 12:28:04 +0530 Subject: Moved, renamed, and deleted files The original directory structure was scattered and unorganized. Changes are basically to make it look like kernel structure. --- drivers/video/wmt/mali.h | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100755 drivers/video/wmt/mali.h (limited to 'drivers/video/wmt/mali.h') diff --git a/drivers/video/wmt/mali.h b/drivers/video/wmt/mali.h new file mode 100755 index 00000000..34605eae --- /dev/null +++ b/drivers/video/wmt/mali.h @@ -0,0 +1,49 @@ +/* + * Copyright (c) 2008-2011 WonderMedia Technologies, Inc. All Rights Reserved. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * WonderMedia Technologies, Inc. + * 4F, 533, Chung-Cheng Road, Hsin-Tien, Taipei 231, R.O.C + */ + +#ifndef MALI_H +#define MALI_H +struct mali_device { + int (*suspend)(u32 cores); + int (*resume)(u32 cores); + void (*enable_clock)(int enable); + void (*enable_power)(int enable); + void (*set_memory_base)(unsigned int val); + void (*set_memory_size)(unsigned int val); + void (*set_mem_validation_base)(unsigned int val); + void (*set_mem_validation_size)(unsigned int val); + void (*get_memory_base)(unsigned int *val); + void (*get_memory_size)(unsigned int *val); + void (*get_mem_validation_base)(unsigned int *val); + void (*get_mem_validation_size)(unsigned int *val); +}; + +struct mali_device *create_mali_device(void); +void release_mali_device(struct mali_device *dev); + +int mali_platform_init_impl(void *data); +int mali_platform_deinit_impl(void *data); +int mali_platform_powerdown_impl(u32 cores); +int mali_platform_powerup_impl(u32 cores); +void mali_gpu_utilization_handler_impl(u32 utilization); +void set_mali_parent_power_domain(struct platform_device *dev); + +extern unsigned long msleep_interruptible(unsigned int msecs); +#endif /* MALI_H */ -- cgit From 63058268f9ab1c96396d3d138aefc3f7b0f72869 Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Sun, 11 Jan 2015 20:10:08 +0530 Subject: Fix white screen issue during bootup Signed-off-by: Manish Patel --- drivers/video/wmt/mali.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 drivers/video/wmt/mali.h (limited to 'drivers/video/wmt/mali.h') diff --git a/drivers/video/wmt/mali.h b/drivers/video/wmt/mali.h old mode 100755 new mode 100644 -- cgit