summaryrefslogtreecommitdiffstats
path: root/exynos4/hal/libgralloc_ump/framebuffer_device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'exynos4/hal/libgralloc_ump/framebuffer_device.cpp')
-rw-r--r--exynos4/hal/libgralloc_ump/framebuffer_device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/exynos4/hal/libgralloc_ump/framebuffer_device.cpp b/exynos4/hal/libgralloc_ump/framebuffer_device.cpp
index b141878..814e668 100644
--- a/exynos4/hal/libgralloc_ump/framebuffer_device.cpp
+++ b/exynos4/hal/libgralloc_ump/framebuffer_device.cpp
@@ -263,8 +263,8 @@ int init_frame_buffer_locked(struct private_module_t* module)
int refreshRate = 1000000000000000LLU /
(
- uint64_t( info.upper_margin + info.lower_margin + info.yres )
- * ( info.left_margin + info.right_margin + info.xres )
+ uint64_t( info.upper_margin + info.lower_margin + info.vsync_len + info.yres )
+ * ( info.left_margin + info.right_margin + info.hsync_len + info.xres )
* info.pixclock
);