Pass a flag to ion to allow non-contiguous allocations with a sg
(scatter gather) list of 1MB chunks for all secure buffers except
secure display.
Change-Id: Ife2709e94571ab7603b29da17805a857ba73fd72
The Ion API is changing yet again. heap_mask has been renamed in Ion to
heap_id_mask. Rename ours.
Change-Id: I70154b7166ce66b27ae37e31345f32480d2b9b2d
Remove opaque types like size_t, uintptr_t, intptr_t to support
32bit and 64bit processes together.
When a 64bit process creates a handle and a 32bit process validates
the incoming ints against expected ints, opaque types lead to
different and mismatching values.
Always use unit64_t for base address for 32bit and 64bit SF.
Use unsigned int for offset and size, since ION uses that.
Change-Id: I7db5544556a8924f98010b965f837592e9f0b4ca
- In ionalloc.cpp, include <sys/ioctl.h> instead of <linux/ioctl.h>, in
the similar way as other HAL libraries are including.
- Helps in resolving compilation warnings
Change-Id: I9068e1e2dd97ce580aeecc25f611900127502fc7
Make the display HALs compile with/without the Qualcomm BSP
specific features so they can work with pure AOSP.
Change-Id: I1ad7282c4fe1fe7e3309afb530a07735f165ffbe
Change ioc_allocation_data structure fields as per changes in kernel.
The 'heap_mask' feild will hold what the older flags field held.
The 'flags' field will hold the caching information.
Change-Id: Id3b2e8a4d1ba370e0f982860fdb32b56227e2e43
Use ION_IOC_CUSTOM instead of ION_IOC_CLEAN_INV_CACHES.
ION_IOC_CLEAN_INV_CACHES is now specified as a command argument of the
ION_IOC_CUSTOM ioctl.
Change-Id: I5b59ba1032364dfb884a90abf2ee2b35f3c09dd6
- Update the display HAL from Code Aurora Forum
- Add updated overlay library
- Enable HWC with basic video going through overlay
- Cleanup some files
Change-Id: I65c687c51be458cee71213c79e03eeda962d9086