diff options
author | Sergey Senozhatsky <senozhatsky@chromium.org> | 2020-05-14 18:01:50 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-23 13:39:01 +0200 |
commit | d4db5eb57cab049d378fbfb7ee842857009a8679 (patch) | |
tree | 639621e61189c898fb5a5b3bfcbb9763e4083572 /drivers/media/common/videobuf2/videobuf2-dma-contig.c | |
parent | d5adf1b0c2a31f8244ded805578188e067baaf5e (diff) | |
download | linux-d4db5eb57cab049d378fbfb7ee842857009a8679.tar.bz2 |
media: videobuf2: add begin/end cpu_access callbacks to dma-sg
Provide begin_cpu_access() and end_cpu_access() dma_buf_ops
callbacks for cache synchronisation on exported buffers.
V4L2_FLAG_MEMORY_NON_CONSISTENT has no effect on dma-sg buffers.
dma-sg allocates memory using the page allocator directly, so
there is no memory consistency guarantee.
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/common/videobuf2/videobuf2-dma-contig.c')
0 files changed, 0 insertions, 0 deletions