From: hyesoo.yu Date: Fri, 17 Nov 2017 08:31:33 +0000 (+0900) Subject: [COMMON] g2d: increase g2d INT lock for performance X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0abb9e3aea4ad7f0146a4e725e4adfc94a21df86;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] g2d: increase g2d INT lock for performance Change-Id: I80c007b17986f38dff865ca47b8d176bb89d5742 Signed-off-by: hyesoo.yu --- 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) {