From 0abb9e3aea4ad7f0146a4e725e4adfc94a21df86 Mon Sep 17 00:00:00 2001 From: "hyesoo.yu" Date: Fri, 17 Nov 2017 17:31:33 +0900 Subject: [PATCH] [COMMON] g2d: increase g2d INT lock for performance Change-Id: I80c007b17986f38dff865ca47b8d176bb89d5742 Signed-off-by: hyesoo.yu --- drivers/gpu/exynos/g2d/g2d_perf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/exynos/g2d/g2d_perf.c b/drivers/gpu/exynos/g2d/g2d_perf.c index e9e613cde160..20fa02c5202c 100644 --- a/drivers/gpu/exynos/g2d/g2d_perf.c +++ b/drivers/gpu/exynos/g2d/g2d_perf.c @@ -139,8 +139,8 @@ static void g2d_set_device_frequency(struct g2d_context *g2d_ctx, } } - /* ip_clock(Mhz) = cycles / time_in_ms * 1000 */ - ip_clock = (cycle / 8) * 1000; + /* ip_clock(Mhz) = cycles / time_in_ms * 1000 * 10% */ + ip_clock = (cycle / 7) * 1100; for (i = 0; i < g2d_dev->dvfs_table_cnt; i++) { if (ip_clock > g2d_dev->dvfs_table[i].freq) { -- 2.20.1