From: xxm Date: Fri, 30 May 2014 06:48:27 +0000 (+0800) Subject: rockchip:midgard:disable temperature control temporarily X-Git-Tag: firefly_0821_release~5200 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e557c5059d641c3f96bede9cc1fc9fb22d9ee6ba;p=firefly-linux-kernel-4.4.55.git rockchip:midgard:disable temperature control temporarily --- diff --git a/drivers/gpu/arm/midgard/platform/rk/mali_kbase_dvfs.c b/drivers/gpu/arm/midgard/platform/rk/mali_kbase_dvfs.c index 291632e171a2..bf42c68a7072 100755 --- a/drivers/gpu/arm/midgard/platform/rk/mali_kbase_dvfs.c +++ b/drivers/gpu/arm/midgard/platform/rk/mali_kbase_dvfs.c @@ -121,8 +121,9 @@ static void mali_dvfs_event_proc(struct work_struct *w) fps = rk_get_real_fps(0); dvfs_status->temperature_time++; + /* temp_tmp += rockchip_tsadc_get_temp(2); - + */ if(dvfs_status->temperature_time >= gpu_temp_statis_time) { dvfs_status->temperature_time = 0;