Skip to contentSkip to conversation

Use of dma_buf_unmap_attachment in interrupt context?

DISCUSSION Hans Verkuil 1 participant 1 message Feb 27, 2014 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

A quick question: can dma_buf_unmap_attachment be called from interrupt context? It is the dmabuf equivalent to e.g. dma_sync_sg_for_cpu or dma_unmap_sg, and those can be called from interrupt context.

I cannot see anything specific about this in the sources or dma-buf-sharing.txt.

If it turns out that dma_buf_unmap_attachment can be called from atomic context, then that should be documented, I think.

Regards,

Hans