diff options
author | Sergey Senozhatsky <senozhatsky@chromium.org> | 2020-05-14 18:01:51 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-23 13:39:41 +0200 |
commit | a9a2c823601789e9f59ec75f13d0ef03138c04a4 (patch) | |
tree | dc6a63fa02ad62689e96b1f132e3c85c58992cf4 /Documentation/admin-guide | |
parent | media: videobuf2: add begin/end cpu_access callbacks to dma-sg (diff) | |
download | linux-a9a2c823601789e9f59ec75f13d0ef03138c04a4.tar.xz linux-a9a2c823601789e9f59ec75f13d0ef03138c04a4.zip |
media: videobuf2: don't test db_attach in dma-contig prepare and finish
We moved cache management decision making to the upper layer and
rely on buffer's need_cache_sync flags and videobuf2 core. If the
upper layer (core) has decided to invoke ->prepare() or ->finish()
then we must sync.
For DMABUF ->need_cache_sync_on_prepare and ->need_cache_sync_on_flush
are always false so videobuf core does not call ->prepare() and
->finish() on such buffers.
Additionally, scratch the DMABUF comment.
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 'Documentation/admin-guide')
0 files changed, 0 insertions, 0 deletions