Merge commit 'd6e54a902368885072975dd0bad78dcd1cafaaea' into eclair-mr2-plus-aosp * commit 'd6e54a902368885072975dd0bad78dcd1cafaaea': Fix video flickering by propagating the NO_CACHING flag from the master to MemoryHeapPMem.
This commit is contained in:
@@ -127,7 +127,8 @@ void QComHardwareRenderer::publishBuffers(uint32_t pmem_fd) {
|
||||
|
||||
master->setDevice("/dev/pmem");
|
||||
|
||||
mMemoryHeap = new MemoryHeapPmem(master, 0);
|
||||
uint32_t heap_flags = master->getFlags() & MemoryHeapBase::NO_CACHING;
|
||||
mMemoryHeap = new MemoryHeapPmem(master, heap_flags);
|
||||
mMemoryHeap->slap();
|
||||
|
||||
ISurface::BufferHeap bufferHeap(
|
||||
|
||||
Reference in New Issue
Block a user