projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df7be13
)
[COMMON] g2d: increase g2d INT lock for performance
author
hyesoo.yu
<hyesoo.yu@samsung.com>
Fri, 17 Nov 2017 08:31:33 +0000
(17:31 +0900)
committer
Seungchul 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/exynos/g2d/g2d_perf.c
b/drivers/gpu/exynos/g2d/g2d_perf.c
index e9e613cde160c0608fdb3a5d868714866e11301d..20fa02c5202c021fef9e5ce45ffe770634e6853b 100644
(file)
--- 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) * 10
00;
+ /* ip_clock(Mhz) = cycles / time_in_ms * 1000 *
10% *
/
+ ip_clock = (cycle /
7) * 11
00;
for (i = 0; i < g2d_dev->dvfs_table_cnt; i++) {
if (ip_clock > g2d_dev->dvfs_table[i].freq) {