media: videobuf2-core: integrate with media requests
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 21 May 2018 08:54:47 +0000 (04:54 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 31 Aug 2018 15:18:35 +0000 (11:18 -0400)
commitfd89e0bb6ebff6481b9b8dd73729f5d62984490a
tree71157c3daf10469b97fdedc1eb61e4bdfa5e2da7
parent1cf96dcc6e79a860d2216a4d1c3edb1676a5798e
media: videobuf2-core: integrate with media requests

Buffers can now be prepared or queued for a request.

A buffer is unbound from the request at vb2_buffer_done time or
when the queue is cancelled.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/common/videobuf2/videobuf2-core.c
drivers/media/common/videobuf2/videobuf2-v4l2.c
drivers/media/dvb-core/dvb_vb2.c
include/media/videobuf2-core.h