-
- Downloads
media: videobuf2: add queue memory coherency parameter
Preparations for future V4L2_MEMORY_FLAG_NON_COHERENT support. Extend the vb2_core_reqbufs() parameters list to accept requests' ->flags, which will be used for memory coherency configuration. An attempt to allocate a buffer with coherency requirements that do not match the queue's consistency model will fail. 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>
Showing
- drivers/media/common/videobuf2/videobuf2-core.c 31 additions, 6 deletionsdrivers/media/common/videobuf2/videobuf2-core.c
- drivers/media/common/videobuf2/videobuf2-v4l2.c 3 additions, 2 deletionsdrivers/media/common/videobuf2/videobuf2-v4l2.c
- drivers/media/dvb-core/dvb_vb2.c 1 addition, 1 deletiondrivers/media/dvb-core/dvb_vb2.c
- include/media/videobuf2-core.h 8 additions, 2 deletionsinclude/media/videobuf2-core.h
Loading
Please register or sign in to comment