Hi,
I have a below use case for the UMM.
Samsung EXYNOS4 SoC has hardware IP for JPEG encoding/decoding. The Android gallery application uses the JPEG decoder to draw the images/thumbnail. As of now, skia library which handles this, uses a software JPEG decoder for the same.
Buffer will be allocated by the Skia library for the JPEG image file to be decoded. Now if we want to use hardware IP for decoding, we need to
a) Change the buffer allocation mechanism in Skia to get the buffers from JPEG driver (mmapped)
b) Pass the user allocated buffer into the JPEG driver, and then to the IP through the proposed DMA-IOMMU framework.
We feel (b) is nicer way to handle, with minimal changes into the Android framework. But the issue lies if the UMM is going to address this scenario.
Please mail me back if you need any clarifications on the requirement.
Regards, Subash