summaryrefslogtreecommitdiffstats
path: root/libgralloc/framebuffer.cpp
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2012-12-15 21:35:59 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2012-12-15 21:35:59 -0800
commitd74f5f3e4c4132f71326cec704352da92211cc7c (patch)
tree0dc3f87302f2eb9600e8cd20ada68c792be8b3a3 /libgralloc/framebuffer.cpp
parent9f4b113d8b342e751173eb19359c01bed038274b (diff)
parentd7f842768a38d3a43713018065320b2175166446 (diff)
downloadandroid_hardware_qcom_display-d74f5f3e4c4132f71326cec704352da92211cc7c.tar.gz
android_hardware_qcom_display-d74f5f3e4c4132f71326cec704352da92211cc7c.tar.bz2
android_hardware_qcom_display-d74f5f3e4c4132f71326cec704352da92211cc7c.zip
Merge "gralloc: Mark framebuffer as ION memory"
Diffstat (limited to 'libgralloc/framebuffer.cpp')
-rw-r--r--libgralloc/framebuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgralloc/framebuffer.cpp b/libgralloc/framebuffer.cpp
index ca1840a93..1193a2746 100644
--- a/libgralloc/framebuffer.cpp
+++ b/libgralloc/framebuffer.cpp
@@ -328,7 +328,7 @@ int mapFrameBufferLocked(struct private_module_t* module)
size_t fbSize = roundUpToPageSize(finfo.line_length * info.yres)*
module->numBuffers;
module->framebuffer = new private_handle_t(fd, fbSize,
- private_handle_t::PRIV_FLAGS_USES_PMEM,
+ private_handle_t::PRIV_FLAGS_USES_ION,
BUFFER_TYPE_UI,
module->fbFormat, info.xres, info.yres);
void* vaddr = mmap(0, fbSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);