staging:ion: add a no-map property to ion dmabuf attachment
Ion unmapped heap aims at not being mapped. This change prevents
Ion from calling dma-mapping support on dma_buf_attach for buffers
in an unmapped heap.
This change is a bit intrusive in the Ion driver. Maybe there is
another way to deal with the dma-mapping resources used for the
unmapped heap.
Cherry-picked from https://github.com/linaro-swg/linux/tree/optee:
(4b3701223a38 "staging:ion: add a no-map property to ion dmabuf attachment")
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
1 file changed