From d7f842768a38d3a43713018065320b2175166446 Mon Sep 17 00:00:00 2001 From: Naseer Ahmed Date: Thu, 13 Dec 2012 13:09:53 -0500 Subject: gralloc: Mark framebuffer as ION memory Change-Id: I859d4d03b62279b7e66ba52e3215fe7394a63434 --- libgralloc/framebuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgralloc/framebuffer.cpp') 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); -- cgit v1.2.3