diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2012-12-15 21:35:59 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2012-12-15 21:35:59 -0800 |
commit | d74f5f3e4c4132f71326cec704352da92211cc7c (patch) | |
tree | 0dc3f87302f2eb9600e8cd20ada68c792be8b3a3 /libgralloc/framebuffer.cpp | |
parent | 9f4b113d8b342e751173eb19359c01bed038274b (diff) | |
parent | d7f842768a38d3a43713018065320b2175166446 (diff) | |
download | android_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.cpp | 2 |
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); |