ANDROID: staging: ion: use dma_[un]map_sg_attrs
The [un]map_dma_buf receives dma_buf_attachment by parameter. The caller could set the dma_map_attrs on dma_buf_attachment such as DMA_ATTR_SKIP_CPU_SYNC, and expects that attributes are applied. The dma_[un]map_sg is changed into dma_[un]map_sg_attrs to send the attributes. Bug: 151775080 Signed-off-by:Hyesoo Yu <hyesoo.yu@samsung.com> Change-Id: Id5ca12ff120bfeac53a84ffad91e7a219e2180cd (cherry picked from commit 16ce0bda52c9948d52e5676359b6cade2662580f) Signed-off-by:
Hridya Valsaraju <hridya@google.com>
Loading
Please register or sign in to comment