]> git.baikalelectronics.ru Git - kernel.git/commit
media: videobuf2: add V4L2_MEMORY_FLAG_NON_COHERENT flag
authorSergey Senozhatsky <senozhatsky@chromium.org>
Thu, 9 Sep 2021 11:24:27 +0000 (13:24 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 08:07:57 +0000 (10:07 +0200)
commit46443ef7816615dbc384d129ed6bb981da0ffb6f
tree376a2014e15f810d14e413fb0b6cf3f414cbec13
parent6e62a86b9ac0899b3d9f0d141ee64036ab5a45a9
media: videobuf2: add V4L2_MEMORY_FLAG_NON_COHERENT flag

By setting or clearing the V4L2_MEMORY_FLAG_NON_COHERENT flag
user-space should be able to hint vb2 that either non-coherent
(if supported) or coherent memory should be used for the buffer
allocation.

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>
Documentation/userspace-api/media/v4l/buffer.rst
Documentation/userspace-api/media/v4l/vidioc-reqbufs.rst
include/uapi/linux/videodev2.h