All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2, 0/2] This patchset add Read-only(Ro) request for capture queue
@ 2020-06-22  1:52 Yunfei Dong
  2020-06-22  1:52 ` [PATCH v2, 1/2] media: v4l UAPI: add V4L2_BUF_CAP_SUPPORTS_RO_REQUESTS Yunfei Dong
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Yunfei Dong @ 2020-06-22  1:52 UTC (permalink / raw)
  To: Hans Verkuil, Tiffany Lin, Rob Herring
  Cc: Yunfei Dong, Mauro Carvalho Chehab, Mark Rutland,
	Matthias Brugger, linux-media, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek, Tomasz Figa

User driver need to get HDR10+ information for each capture buffer;
For some encoder cases, user driver need to get encoded message for
each frame. So add support read-only(Ro) request for capture queue.

Ro request mean that user driver just can get ext ctrls, set ext ctrls
is not not allowed. Ro Request also can be used in output queue.

There is not upstream driver to use this feature at now, but we are
developing internal driver to use it. If it is ready, we will try to
upstream vdec/venc driver based on this feature.

Change compared to v1:
-change commit message of patch 01/02
-change commit message of patch 02/02

Yunfei Dong (2):
  media: v4l UAPI: add V4L2_BUF_CAP_SUPPORTS_RO_REQUESTS
  media: v4l: Add Ro request api for capture queue

 .../media/v4l/vidioc-reqbufs.rst              |   4 +
 .../media/common/videobuf2/videobuf2-v4l2.c   |   7 ++
 drivers/media/mc/mc-request.c                 |  10 +-
 drivers/media/v4l2-core/v4l2-ctrls.c          | 107 +++++++++++++++---
 drivers/media/v4l2-core/v4l2-ioctl.c          |  22 ++++
 drivers/media/v4l2-core/v4l2-mem2mem.c        |  19 ++--
 include/media/v4l2-ctrls.h                    |  22 +++-
 include/media/v4l2-fh.h                       |   2 +
 include/media/videobuf2-core.h                |   2 +
 include/uapi/linux/videodev2.h                |   1 +
 10 files changed, 158 insertions(+), 38 deletions(-)


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

end of thread, other threads:[~2020-06-29  6:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22  1:52 [PATCH v2, 0/2] This patchset add Read-only(Ro) request for capture queue Yunfei Dong
2020-06-22  1:52 ` [PATCH v2, 1/2] media: v4l UAPI: add V4L2_BUF_CAP_SUPPORTS_RO_REQUESTS Yunfei Dong
2020-06-22  1:52 ` [PATCH v2, 2/2] media: v4l: Add Ro request api for capture queue Yunfei Dong
2020-06-23  8:23   ` dikshita
2020-06-29  6:11     ` yunfei.dong
2020-06-29  6:11       ` yunfei.dong
2020-06-23 18:43 ` [PATCH v2, 0/2] This patchset add Read-only(Ro) request " Ezequiel Garcia
2020-06-23 18:43   ` Ezequiel Garcia
2020-06-23 18:43   ` Ezequiel Garcia
2020-06-29  6:47   ` yunfei.dong
2020-06-29  6:47     ` yunfei.dong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.