]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: buffer-dma: Enable support for DMABUFs
authorPaul Cercueil <paul@crapouillou.net>
Thu, 20 Jun 2024 12:27:23 +0000 (14:27 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 30 Jun 2024 10:29:24 +0000 (11:29 +0100)
commitd85318900c1c06a251ad3d86fba6bbab116a95d5
tree4ea418717503c01c507a4debff84950a6aff8a69
parent3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f
iio: buffer-dma: Enable support for DMABUFs

Implement iio_dma_buffer_attach_dmabuf(), iio_dma_buffer_detach_dmabuf()
and iio_dma_buffer_transfer_dmabuf(), which can then be used by the IIO
DMA buffer implementations.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Co-developed-by: Nuno Sa <nuno.sa@analog.com>
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20240620122726.41232-5-paul@crapouillou.net
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/buffer/industrialio-buffer-dma.c
include/linux/iio/buffer-dma.h