aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorMister Oyster <oysterized@gmail.com>2017-09-23 13:07:58 +0200
committerMister Oyster <oysterized@gmail.com>2017-09-23 13:07:58 +0200
commitef889bcc183377d1f37550e91a9fc48d8a0e575e (patch)
treec3fdfceca1260733ff35491c82f38a4b0fa8fa0c /drivers/misc
parentad348bc7e1c47c8ca0e7ccc68ee80f77cea868ce (diff)
mali: remove some logspam
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/mediatek/gpu/mt6735/mali-EAC/drivers/gpu/arm/midgard/mali_kbase_core_linux.c4
-rw-r--r--drivers/misc/mediatek/gpu/mt6735/mali/drivers/gpu/arm/midgard/mali_kbase_core_linux.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/drivers/misc/mediatek/gpu/mt6735/mali-EAC/drivers/gpu/arm/midgard/mali_kbase_core_linux.c b/drivers/misc/mediatek/gpu/mt6735/mali-EAC/drivers/gpu/arm/midgard/mali_kbase_core_linux.c
index e3b626594..8a969eff5 100644
--- a/drivers/misc/mediatek/gpu/mt6735/mali-EAC/drivers/gpu/arm/midgard/mali_kbase_core_linux.c
+++ b/drivers/misc/mediatek/gpu/mt6735/mali-EAC/drivers/gpu/arm/midgard/mali_kbase_core_linux.c
@@ -458,11 +458,15 @@ if (g_ged_gpu_boost_id == 0)
g_ged_gpu_boost_id = 1;
}
+ #ifndef CONFIG_MEIZU_CLOSE_MTK_LOG
printk("[MALI] mtk_kbase_set_bottom_gpu_freq_fp() ui32FreqLevel=%d, g_custom_gpu_boost_id=%d (GED boost)", ui32FreqLevel, g_ged_gpu_boost_id);
+ #endif
if(g_ged_gpu_boost_id < mt_gpufreq_get_cur_freq_index())
{
+ #ifndef CONFIG_MEIZU_CLOSE_MTK_LOG
printk("[MALI] mtk_kbase_set_bottom_gpu_freq_fp set gpu freq to index=%d, cuurent index=%d (GED boost)", g_ged_gpu_boost_id, mt_gpufreq_get_cur_freq_index());
+ #endif
mt_gpufreq_target(g_ged_gpu_boost_id);
}
diff --git a/drivers/misc/mediatek/gpu/mt6735/mali/drivers/gpu/arm/midgard/mali_kbase_core_linux.c b/drivers/misc/mediatek/gpu/mt6735/mali/drivers/gpu/arm/midgard/mali_kbase_core_linux.c
index 99eef17f2..e9853a6e4 100644
--- a/drivers/misc/mediatek/gpu/mt6735/mali/drivers/gpu/arm/midgard/mali_kbase_core_linux.c
+++ b/drivers/misc/mediatek/gpu/mt6735/mali/drivers/gpu/arm/midgard/mali_kbase_core_linux.c
@@ -448,11 +448,15 @@ void mtk_kbase_ged_bottom_gpu_freq(unsigned int ui32FreqLevel)
g_ged_gpu_boost_id = uiTableNum - ui32FreqLevel - 1;
+ #ifndef CONFIG_MEIZU_CLOSE_MTK_LOG
printk("[MALI] mtk_kbase_set_bottom_gpu_freq_fp() ui32FreqLevel=%d, g_custom_gpu_boost_id=%d (GED boost)", ui32FreqLevel, g_ged_gpu_boost_id);
+ #endif
if(g_ged_gpu_boost_id < mt_gpufreq_get_cur_freq_index())
{
+ #ifndef CONFIG_MEIZU_CLOSE_MTK_LOG
printk("[MALI] mtk_kbase_set_bottom_gpu_freq_fp set gpu freq to index=%d, cuurent index=%d (GED boost)", g_ged_gpu_boost_id, mt_gpufreq_get_cur_freq_index());
+ #endif
mt_gpufreq_target(g_ged_gpu_boost_id);
}