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:
7adf03c
)
PD #92128: Add virtual thermal support for M8
author
tao.zeng
<tao.zeng@amlogic.com>
Thu, 22 May 2014 12:12:04 +0000
(20:12 +0800)
committer
eric
<eric.zhong@amlogic.com>
Fri, 23 May 2014 13:16:55 +0000
(21:16 +0800)
mali/platform/meson_m450/platform_m8.c
patch
|
blob
|
blame
|
history
diff --git
a/mali/platform/meson_m450/platform_m8.c
b/mali/platform/meson_m450/platform_m8.c
index 1fd9eb9376438d9b478059ce77bc098c3369e456..b790a21a8ba85f2d3e42421167c945d381a10acb 100755
(executable)
--- a/
mali/platform/meson_m450/platform_m8.c
+++ b/
mali/platform/meson_m450/platform_m8.c
@@
-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)