diff options
| author | Sergey Senozhatsky <senozhatsky@chromium.org> | 2020-05-14 18:01:49 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-23 13:37:57 +0200 |
| commit | d5adf1b0c2a31f8244ded805578188e067baaf5e (patch) | |
| tree | 65b8635fcc268b967b00d0daedcc2015f8adde7c /scripts/objdiff | |
| parent | media: videobuf2: check ->synced flag in prepare() and finish() (diff) | |
| download | linux-d5adf1b0c2a31f8244ded805578188e067baaf5e.tar.gz linux-d5adf1b0c2a31f8244ded805578188e067baaf5e.zip | |
media: videobuf2: add begin/end cpu_access callbacks to dma-contig
Provide begin_cpu_access() and end_cpu_access() callbacks for
cache synchronisation on exported buffers.
The patch also adds a new helper function - vb2_dc_buffer_consistent(),
which returns true is if the buffer is consistent (DMA_ATTR_NON_CONSISTENT
bit cleared), so then we don't need to sync anything.
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 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
