Skip to content
Commit 20db870d authored by Hans Verkuil's avatar Hans Verkuil Committed by popcornmix
Browse files

media: vb2: set reqbufs/create_bufs capabilities

Upstream commit e5079cf1

.

Set the capabilities field of v4l2_requestbuffers and v4l2_create_buffers.

The various mapping modes were easy, but for signaling the request capability
a new 'supports_requests' bitfield was added to videobuf2-core.h (and set in
vim2m and vivid). Drivers have to set this bitfield for any queue where
requests are supported.

Signed-off-by: default avatarHans Verkuil <hansverk@cisco.com>
Reviewed-by: default avatarTomasz Figa <tfiga@chromium.org>
Acked-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>

Minor modifications required on the backport
parent 4e3e6d5b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment