android: ion: add properties to ion_heap_data
authorCho KyongHo <pullip.cho@samsung.com>
Sun, 11 Feb 2018 08:34:49 +0000 (17:34 +0900)
committerSangwook Ju <sw.ju@samsung.com>
Mon, 14 May 2018 10:45:23 +0000 (19:45 +0900)
commit9f69bac861d5cc27f198f192b24624beea985e5c
tree0c31af07b298a387cb0d2b479f70a0f285b1dbf3
parentd6061861f64f1e9ff821d1ddc054c50e64142f35
android: ion: add properties to ion_heap_data

ion_heap_data is lack of heap properties that is critical to users.
Users may want to know the total size of the cma/carved out memory
pools served by cma heap and carveout heap, respectively. They also
need to know if a heap provides buffer protection for DRM video
streams or allocated buffer from a heap can be accessed.

Change-Id: I3c3a6b9a41d32398ddfe1b1c21b3977e790e5c25
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/staging/android/ion/ion.c
drivers/staging/android/ion/ion.h
drivers/staging/android/ion/ion_carveout_heap.c
drivers/staging/android/ion/ion_cma_heap.c
drivers/staging/android/uapi/ion.h