[RFC,v4,18/18] v4l: Use non-consistent DMA mappings for hardware that deserves it
Commit Message
Set DMA_ATTR_NON_CONSISTENT for hardware that uses non-consistent memory.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
drivers/media/platform/omap3isp/ispvideo.c | 1 +
1 file changed, 1 insertion(+)
@@ -1333,6 +1333,7 @@ static int isp_video_open(struct file *file)
queue->buf_struct_size = sizeof(struct isp_buffer);
queue->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC;
queue->dev = video->isp->dev;
+ queue->dma_attrs = DMA_ATTR_NON_CONSISTENT;
ret = vb2_queue_init(&handle->queue);
if (ret < 0) {