linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5.1 0/2] add requires_requests bit for stateless codecs
@ 2019-03-20 12:33 hverkuil-cisco
  2019-03-20 12:33 ` [PATCH v5.1 1/2] vb2: " hverkuil-cisco
  2019-03-20 12:33 ` [PATCH v5.1 2/2] cedrus: set requires_requests hverkuil-cisco
  0 siblings, 2 replies; 9+ messages in thread
From: hverkuil-cisco @ 2019-03-20 12:33 UTC (permalink / raw)
  To: linux-media

From: Hans Verkuil <hverkuil-cisco@xs4all.nl>

These two patches replace patches 1-3 of the vicodec v5 patch
series: https://www.spinics.net/lists/linux-media/msg147923.html

The original patch 2/23 (videodev2.h: add V4L2_BUF_CAP_REQUIRES_REQUESTS)
was dropped. This needs a bit more thought.

Patch 1 now returns EBADR if an attempt is made to queue a buffer
without a request and requires_requests is set. This error code is
also documented.

Both patches have a better (hopefully) commit log.

The cedrus patch itself is unchanged from v5.

Regards,

	Hans

Hans Verkuil (2):
  vb2: add requires_requests bit for stateless codecs
  cedrus: set requires_requests

 Documentation/media/uapi/v4l/vidioc-qbuf.rst      | 4 ++++
 drivers/media/common/videobuf2/videobuf2-core.c   | 9 +++++++++
 drivers/media/common/videobuf2/videobuf2-v4l2.c   | 4 ++++
 drivers/staging/media/sunxi/cedrus/cedrus_video.c | 1 +
 include/media/videobuf2-core.h                    | 3 +++
 5 files changed, 21 insertions(+)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-03-20 14:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-20 12:33 [PATCH v5.1 0/2] add requires_requests bit for stateless codecs hverkuil-cisco
2019-03-20 12:33 ` [PATCH v5.1 1/2] vb2: " hverkuil-cisco
2019-03-20 12:55   ` Mauro Carvalho Chehab
2019-03-20 13:06     ` Hans Verkuil
2019-03-20 13:22       ` Mauro Carvalho Chehab
2019-03-20 12:33 ` [PATCH v5.1 2/2] cedrus: set requires_requests hverkuil-cisco
2019-03-20 12:55   ` Mauro Carvalho Chehab
2019-03-20 14:23   ` [PATCH v5.1 3/2] media requests: return EBADR instead of EACCES Hans Verkuil
2019-03-20 14:28     ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).