gralloc: Cache maintenance handling updates
- Make buffer allocations for ubwc formats as uncached since
access from cpu is not expected.
- Bracket each cache maintenance operation with dma buf sync
start and sync end.
Change-Id: Ic2676ad9fff9a7ca6111f14e24aaec4c3d7f6ef2
CRs-Fixed: 2210256
diff --git a/gralloc/gr_ion_alloc.h b/gralloc/gr_ion_alloc.h
index 763ac54..8cb1568 100644
--- a/gralloc/gr_ion_alloc.h
+++ b/gralloc/gr_ion_alloc.h
@@ -40,6 +40,7 @@
CACHE_CLEAN = 0x1,
CACHE_INVALIDATE,
CACHE_CLEAN_AND_INVALIDATE,
+ CACHE_READ_DONE
};
struct AllocData {