PD #92128: Add virtual thermal support for M8
authortao.zeng <tao.zeng@amlogic.com>
Thu, 22 May 2014 12:12:04 +0000 (20:12 +0800)
committereric <eric.zhong@amlogic.com>
Fri, 23 May 2014 13:16:55 +0000 (21:16 +0800)
mali/platform/meson_m450/platform_m8.c

index 1fd9eb9376438d9b478059ce77bc098c3369e456..b790a21a8ba85f2d3e42421167c945d381a10acb 100755 (executable)
@@ -139,6 +139,7 @@ int mali_meson_init_finish(struct platform_device* ptr_plt_dev)
        int err;
        struct gpufreq_cooling_device *gcdev = NULL;
        gcdev = gpufreq_cooling_alloc();
+    register_gpu_freq_info(get_current_frequency);
        if(IS_ERR(gcdev))
                printk("malloc gpu cooling buffer error!!\n");
        else if(!gcdev)