commit | 872252b7377b3e3c47fd4dcbcfe3caf6606a32a1 | [log] [tgz] |
---|---|---|
author | Hridya Valsaraju <hridya@google.com> | Wed Mar 24 10:43:21 2021 -0700 |
committer | Hridya Valsaraju <hridya@google.com> | Wed Mar 24 13:44:19 2021 -0700 |
tree | 3341a5de2a2096fb268445e64ea19c1bd2378aa6 | |
parent | 5524cb7451cddf6e3dae93b610b5c88e910f32a9 [diff] |
libdmabufheap: Add an API to check ION support Although libdmabufheap is intended to be an abstraction layer that is intended to work with both ION and DMA-BUF heaps, there are times when its clients would like to differentiate between the devices supporting ION and DMA-BUF heaps. This API returns if a device supports ION by checking for the presence of /dev/ion. Test: atest dmabuf_heap_test Bug: 183481820 Change-Id: I0f039826431c6e11b76d35253eca6b6ed31e0a89