summaryrefslogtreecommitdiffstats
path: root/libgralloc/framebuffer.cpp
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@gmail.com>2016-09-29 12:07:11 +0800
committerdianlujitao <dianlujitao@gmail.com>2016-09-29 12:07:21 +0800
commit3906c6b9e26cb32e4561df4f09ee4b483d587f5a (patch)
tree82a608d13016cb271b145eef15eaae94d7280f9d /libgralloc/framebuffer.cpp
parentb2ef0dbddc90ea70d3240c2ddc25c93fc111204f (diff)
parent57aaa5e09827b47df67e08ec165173327a7e6ed8 (diff)
downloadhardware_qcom_display-3906c6b9e26cb32e4561df4f09ee4b483d587f5a.tar.gz
hardware_qcom_display-3906c6b9e26cb32e4561df4f09ee4b483d587f5a.tar.bz2
hardware_qcom_display-3906c6b9e26cb32e4561df4f09ee4b483d587f5a.zip
Merge tag 'LA.HB.1.3.2-27800-8x96.0' of https://source.codeaurora.org/quic/la/platform/hardware/qcom/display into HEAD
"LA.HB.1.3.2-27800-8x96.0" Change-Id: I1d8a78563eae62ca46ac66009d69e78976a93bee
Diffstat (limited to 'libgralloc/framebuffer.cpp')
-rw-r--r--libgralloc/framebuffer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libgralloc/framebuffer.cpp b/libgralloc/framebuffer.cpp
index 5c297c1f8..94a72a757 100644
--- a/libgralloc/framebuffer.cpp
+++ b/libgralloc/framebuffer.cpp
@@ -352,8 +352,9 @@ int mapFrameBufferLocked(framebuffer_device_t *dev)
// Create framebuffer handle using the ION fd
module->framebuffer = new private_handle_t(fd, fbSize,
private_handle_t::PRIV_FLAGS_USES_ION,
- BUFFER_TYPE_UI,
- module->fbFormat, info.xres, info.yres);
+ BUFFER_TYPE_UI, module->fbFormat,
+ info.xres, info.yres,
+ info.xres, info.yres);
module->framebuffer->base = uint64_t(vaddr);
memset(vaddr, 0, fbSize);
//Enable vsync