[COMMON] g2d: increase g2d INT lock for performance
authorhyesoo.yu <hyesoo.yu@samsung.com>
Fri, 17 Nov 2017 08:31:33 +0000 (17:31 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:27:57 +0000 (14:27 +0900)
Change-Id: I80c007b17986f38dff865ca47b8d176bb89d5742
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
drivers/gpu/exynos/g2d/g2d_perf.c

index e9e613cde160c0608fdb3a5d868714866e11301d..20fa02c5202c021fef9e5ce45ffe770634e6853b 100644 (file)
@@ -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) {