projects
/
GitHub
/
LineageOS
/
G12
/
android_hardware_amlogic_kernel-modules_mali-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec53d92
)
function to mesure performence.
author
Kasin Lee
<kasin.li@amlogic.com>
Wed, 7 Aug 2013 15:31:34 +0000
(23:31 +0800)
committer
Kasin Lee
<kasin.li@amlogic.com>
Wed, 7 Aug 2013 15:31:34 +0000
(23:31 +0800)
mali/platform/meson_platform/meson_main.c
patch
|
blob
|
blame
|
history
diff --git
a/mali/platform/meson_platform/meson_main.c
b/mali/platform/meson_platform/meson_main.c
index 84bd98e93d3ffc48dca337c19ac7ecb47ae3b9cb..f3106c11147f3fae270b2e3eaab4b8e237136ea7 100755
(executable)
--- a/
mali/platform/meson_platform/meson_main.c
+++ b/
mali/platform/meson_platform/meson_main.c
@@
-137,11
+137,18
@@
static struct platform_device mali_gpu_device =
.dev.type = &mali_gpu_device_device_type, /* We should probably use the pm_domain instead of type on newer kernels */
};
+void mali_utilization_handler(unsigned int utilization_num)
+{
+
+}
+
static struct mali_gpu_device_data mali_gpu_data =
{
.shared_mem_size =CONFIG_MALI400_OS_MEMORY_SIZE * 1024 * 1024,
.fb_start = 0x84000000,
.fb_size = 0x06000000,
+ .utilization_interval = 1000,
+ .utilization_handler = mali_utilization_handler,
};
int mali_platform_device_register(void)