summaryrefslogtreecommitdiff
path: root/libion
AgeCommit message (Collapse)Author
2022-06-23libion: add exynos_ion_get_heap_name() functionShiyong Li
commit 1d0487f4ffdbce91e45649d0d892ae1b1ebb602d remove this function unexpectedly, add it back based on new libion implementation. Bug: 236360904 Signed-off-by: Shiyong Li <shiyongli@google.com> Change-Id: I3dbc3ab66e9a8e04d38c77c45d7509c827075fef
2022-04-18Deleted clang property in Android.bp filesAlix
Deleted deprecated clang property in Android.bp files using bpmodify. Bug: 208980553 Test: treehugger Change-Id: I58c700e7178d1d1b06011fe500a7133c667a9fed
2022-01-27Fix licenses and license texts.Bob Badour
The contents are all Android 1p. Test: m nothing Change-Id: I09270b0bf0a5ffc423d430d0515303a91368ad19
2021-03-23Pass SyncType parameter to CpuSyncEnd()Hridya Valsaraju
Modify libion_google so that BufferAllocator::CpuSyncEnd() takes a SyncType argument. Test: secure/non-secure video playback Bug: 178865267 Change-Id: I40b3f535b67805365b41174709c504d0838e73bd
2021-03-05libion_google: switch ion implementation to use libdmabufheapHyesoo Yu
Modify libion_google so that it supports DMA-BUF heaps using libdmabufheap. NOTE: nvfw, nfw heap are not supported from dma-heap because these heaps are used only for video firmware. MFC driver allocates reserved memory or kernel memory instead of dma-heap. And sensor_direct_heap also not supported because that heap in use could be not be found. Test: secure/non-secure video playback Bug: 178865267 Signed-off-by: Hyesoo Yu <hyesoo.yu@samsung.com> Change-Id: I336b68d48831fabfc73323d1b853ac9a82e1efdf
2021-03-01[LSC] Add LOCAL_LICENSE_KINDS to hardware/google/graphics/commonBob Badour
Added SPDX-license-identifier-Apache-2.0 to: Android.bp libacryl/Android.bp libacryl/Android.mk libgscaler/Android.mk libhwc2.1/Android.mk libhwjpeg/Android.mk libion/Android.bp libion/test/Android.bp libmemtrack/Android.mk libscaler/Android.mk libv4l2/Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I0a3746b35fd8d476ae1a51ef89b27c6797e51de9
2020-12-04ion: add protected flag on upper 16 bits.Hyesoo Yu
The lower 16 bits are used by core ion, so upper 16 bits are reserved for heaps from GKI. Bug: 172159699 Signed-off-by: Hyesoo Yu <hyesoo.yu@samsung.com> Change-Id: I512ede0b30efebc61bf6eb090fc32faa49f129ce
2020-11-30libion: add ion heaps for faceauthSean Callanan
Bug: 169279174 Test: gfx-gralloc-faceauth-test Change-Id: I2e334ef35cf6e9db00d4e3a1083dd47ad0ad178e
2020-10-28Clear the array of heaps before querying the ion fdCraig Dooley
The previous logic was clearing out any heap with an ID > the number of heaps exported by the kernel. Bug: 170606114 Signed-off-by: Craig Dooley <dooleyc@google.com> Change-Id: If65852e5dfcda361fa46370a4f3d1b63a34d93e6
2020-08-03Add a mapping for the sensor direct heapCraig Dooley
Change-Id: If7b0804e3c5a2b7ada408140daa01607d6792370
2020-05-05ion.h: add missing include and fix warningJesse Hall
Added sys/types.h include for off_t, and made the function declarations not issue warnings with -Wstrict-prototypes. Headers that included this one were having to disable warnings and provide the off_t declaration. Test: build with -Wstrict-prototypes and a file that includs just ion.h Change-Id: I7e97010eab73c039dd93c55bb37b83f986e5d84b
2020-03-26iontest: remove unnecessary inclde pathCho KyongHo
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com> Change-Id: I2d7d8dcce54e7607b6c721d5bee27c92a5d3defa
2020-02-25libion: add ION_FLAG_HW_EXTRA flagTaehwan Kim
if this flag is set, ion d/d will allocate a buffer with more extra size for H/W module. Change-Id: Ib4727f75ebc02069e0e8418e7663cb2a44210ee4 Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
2019-09-18Add initial source codeHyunKyung Kim
Change-Id: I285a55c44c9fd5d3a8abaa781ef9dc8d9d39f53a Signed-off-by: HyunKyung Kim <hk310.kim@samsung.com>