diff options
author | Marcus Oakland <marcus.oakland@arm.com> | 2013-05-09 10:12:14 +0100 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2014-05-08 02:48:02 +0530 |
commit | 90bcfe42b42742b3d814e5d91f2288ffb9eb5f12 (patch) | |
tree | e976beab66b49f4491e476876f886703cb03519f | |
parent | c070bad435799b4febdd2acf6be6c191f15f724e (diff) | |
download | libhardware-90bcfe42b42742b3d814e5d91f2288ffb9eb5f12.tar.gz |
Matthew Leach's Vexpress Patches
Applied the Android JellyBean MR1 4.2.1 Vexpress Patches from
http://linux-arm.org/git?p=armdroid.git;a=commit;
h=1c117076e1fc6774056f77e0aa59db077c5ac6ee
fs/src/JellyBean-MR1/JB-MR1-armboards_hardware-libhardware_gralloc1.patch
and fs/src/JellyBean-MR1/JB-MR1-armboards_hardware-libhardware_gralloc2.patch
Change-Id: I7ae33ee11a9dd992e581cda8a6cab82e8d5e5537
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
-rw-r--r-- | modules/gralloc/framebuffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gralloc/framebuffer.cpp b/modules/gralloc/framebuffer.cpp index 9d8513a2..b7ba3b1a 100644 --- a/modules/gralloc/framebuffer.cpp +++ b/modules/gralloc/framebuffer.cpp @@ -97,8 +97,8 @@ static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) const size_t offset = hnd->base - m->framebuffer->base; m->info.activate = FB_ACTIVATE_VBL; m->info.yoffset = offset / m->finfo.line_length; - if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { - ALOGE("FBIOPUT_VSCREENINFO failed"); + if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) { + ALOGE("FBIOPAN_DISPLAY failed"); m->base.unlock(&m->base, buffer); return -errno; } |