function to mesure performence.
authorKasin Lee <kasin.li@amlogic.com>
Wed, 7 Aug 2013 15:31:34 +0000 (23:31 +0800)
committerKasin Lee <kasin.li@amlogic.com>
Wed, 7 Aug 2013 15:31:34 +0000 (23:31 +0800)
mali/platform/meson_platform/meson_main.c

index 84bd98e93d3ffc48dca337c19ac7ecb47ae3b9cb..f3106c11147f3fae270b2e3eaab4b8e237136ea7 100755 (executable)
@@ -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)