libgralloc: Fix refresh rate calculation cm-12.1
authorCaio Schnepper <caioschnepper@gmail.com>
Mon, 30 Nov 2015 13:05:10 +0000 (11:05 -0200)
committerCaio Schnepper <caioschnepper@gmail.com>
Mon, 30 Nov 2015 13:13:02 +0000 (05:13 -0800)
commit1ed061f3963320aa38783950babd5735ca5558dd
treeeae3e047ca670bb13212f297fb72c7a1c32f887f
parentcbdae1245db5faf4ae40f0f6d988fad2b023d6ee
libgralloc: Fix refresh rate calculation

Calculated refresh rate can be 3% off
Reference: https://code.google.com/p/android/issues/detail?id=69391

Change-Id: I3b4efefcc0aef695ba48abdfb61f6d38b9d0a79c
exynos4/hal/libgralloc_ump/framebuffer_device.cpp