diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-03-06 16:13:21 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-03-25 13:24:47 -0400 |
commit | 90675d391e9196e95a9e9e31eaa9693d4a995927 (patch) | |
tree | d2575cb8064666b5453bea364890eb9fd9170fef /Kbuild | |
parent | b60a5b8dcf49af9f2c60ae82e0383ee8e62a9a52 (diff) |
media: vb2: add requires_requests bit for stateless codecs
Stateless codecs require the use of the Request API as opposed of it
being optional.
So add a bit to indicate this and let vb2 check for this.
If an attempt is made to queue a buffer without an associated request,
then the EBADR error is returned to userspace.
Doing this check in the vb2 core simplifies drivers, since they
don't have to check for this, they can just set this flag.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions