projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20a42c5
)
drm/exynos/mic: fix timing calculation
author
Andrzej Hajda
<a.hajda@samsung.com>
Tue, 10 May 2016 13:45:48 +0000
(15:45 +0200)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:50:48 +0000
(13:50 +0900)
MIC_BS_SIZE_2D depends only on hactive.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ie6120a2b6aef251f0bfb295b41666dac5f9c5e42
drivers/gpu/drm/exynos/exynos_drm_mic.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_mic.c
b/drivers/gpu/drm/exynos/exynos_drm_mic.c
index
9869d70
..
8fe42c4
100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_mic.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_mic.c
@@
-193,7
+193,7
@@
static void mic_set_output_timing(struct exynos_mic *mic)
u32 reg, bs_size_2d;
DRM_DEBUG("w: %u, h: %u\n", vm.hactive, vm.vactive);
- bs_size_2d = ((vm.hactive >> 2) << 1) + (vm.
v
active % 4);
+ bs_size_2d = ((vm.hactive >> 2) << 1) + (vm.
h
active % 4);
reg = MIC_BS_SIZE_2D(bs_size_2d);
writel(reg, mic->reg + MIC_2D_OUTPUT_TIMING_2);