Codec2: Add sys-prop to allow dmabuf heap usage to be forced
This patch adds support for a debug.c2.use_dmabufheaps=1 sysprop
which can be used to force DMABUF Heaps to be used even when
/dev/ion is present.
In the case the override is specified, but there is no
/dev/dma_heap/system device, the override will be ignored and
it will fall back to ION.
This will allow vendors to test DMABUF Heap implementations
while allowing other parts of the system to continue to use ION.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I1cbbd8e201d11c4a47b89c9a45fe6dda53241355
Loading
Please register or sign in to comment