diff options
author | Naseer Ahmed <naseer@codeaurora.org> | 2012-12-13 13:09:53 -0500 |
---|---|---|
committer | Naseer Ahmed <naseer@codeaurora.org> | 2012-12-13 13:20:04 -0500 |
commit | d7f842768a38d3a43713018065320b2175166446 (patch) | |
tree | 1cc7f86c9628bb62e73bfb5d5c54c76e6c211901 /libgralloc/framebuffer.cpp | |
parent | e97c35ffb5844645941202bcc52973dfd3998744 (diff) | |
download | android_hardware_qcom_display-d7f842768a38d3a43713018065320b2175166446.tar.gz android_hardware_qcom_display-d7f842768a38d3a43713018065320b2175166446.tar.bz2 android_hardware_qcom_display-d7f842768a38d3a43713018065320b2175166446.zip |
gralloc: Mark framebuffer as ION memory
Change-Id: I859d4d03b62279b7e66ba52e3215fe7394a63434
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 57df5b169..653468dfe 100644 --- a/libgralloc/framebuffer.cpp +++ b/libgralloc/framebuffer.cpp @@ -329,7 +329,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); |