* [GIT PULL FOR v4.20] Add Request API for the topic branch
@ 2018-08-30 10:40 Hans Verkuil
2018-08-31 15:31 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 3+ messages in thread
From: Hans Verkuil @ 2018-08-30 10:40 UTC (permalink / raw)
To: Linux Media Mailing List
Hi Mauro,
This is a pull request to add the Request API v18 as a topic branch.
Note that this does not yet include the follow-up patches:
https://www.mail-archive.com/linux-media@vger.kernel.org/msg134630.html
Those will come in a separate pull request on top of this one once this is
agreed upon (hopefully soon!).
Regards,
Hans
The following changes since commit 3799eca51c5be3cd76047a582ac52087373b54b3:
media: camss: add missing includes (2018-08-29 14:02:06 -0400)
are available in the Git repository at:
git://linuxtv.org/hverkuil/media_tree.git reqv18
for you to fetch changes up to 1212ceb69544eee3864ec8461bc53ee6ddd87fb0:
vivid: add request support (2018-08-30 12:01:28 +0200)
----------------------------------------------------------------
Alexandre Courbot (2):
Documentation: v4l: document request API
videodev2.h: add request_fd field to v4l2_ext_controls
Hans Verkuil (32):
uapi/linux/media.h: add request API
media-request: implement media requests
media-request: add media_request_get_by_fd
media-request: add media_request_object_find
v4l2-device.h: add v4l2_device_supports_requests() helper
v4l2-dev: lock req_queue_mutex
v4l2-ctrls: v4l2_ctrl_add_handler: add from_other_dev
v4l2-ctrls: prepare internal structs for request API
v4l2-ctrls: alloc memory for p_req
v4l2-ctrls: use ref in helper instead of ctrl
v4l2-ctrls: add core request support
v4l2-ctrls: support g/s_ext_ctrls for requests
v4l2-ctrls: add v4l2_ctrl_request_hdl_find/put/ctrl_find functions
videobuf2-v4l2: move __fill_v4l2_buffer() function
videobuf2-v4l2: replace if by switch in __fill_vb2_buffer()
vb2: store userspace data in vb2_v4l2_buffer
davinci_vpfe: remove bogus vb2->state check
vb2: drop VB2_BUF_STATE_PREPARED, use bool prepared/synced instead
videodev2.h: Add request_fd field to v4l2_buffer
vb2: add init_buffer buffer op
videobuf2-core: embed media_request_object
videobuf2-core: integrate with media requests
videobuf2-v4l2: integrate with media requests
videobuf2-core: add request helper functions
videobuf2-v4l2: add vb2_request_queue/validate helpers
videobuf2-core: add uses_requests/qbuf flags
videobuf2-v4l2: refuse qbuf if queue uses requests or vv.
v4l2-mem2mem: add vb2_m2m_request_queue
vim2m: use workqueue
vim2m: support requests
vivid: add mc
vivid: add request support
Sakari Ailus (1):
media: doc: Add media-request.h header to documentation build
Documentation/media/kapi/mc-core.rst | 2 +
Documentation/media/uapi/mediactl/media-controller.rst | 1 +
Documentation/media/uapi/mediactl/media-funcs.rst | 6 +
Documentation/media/uapi/mediactl/media-ioc-request-alloc.rst | 65 +++++
Documentation/media/uapi/mediactl/media-request-ioc-queue.rst | 82 ++++++
Documentation/media/uapi/mediactl/media-request-ioc-reinit.rst | 51 ++++
Documentation/media/uapi/mediactl/request-api.rst | 245 ++++++++++++++++++
Documentation/media/uapi/mediactl/request-func-close.rst | 48 ++++
Documentation/media/uapi/mediactl/request-func-ioctl.rst | 67 +++++
Documentation/media/uapi/mediactl/request-func-poll.rst | 77 ++++++
Documentation/media/uapi/v4l/buffer.rst | 21 +-
Documentation/media/uapi/v4l/vidioc-g-ext-ctrls.rst | 53 +++-
Documentation/media/uapi/v4l/vidioc-qbuf.rst | 32 ++-
Documentation/media/videodev2.h.rst.exceptions | 1 +
drivers/media/Makefile | 3 +-
drivers/media/common/videobuf2/videobuf2-core.c | 262 +++++++++++++++----
drivers/media/common/videobuf2/videobuf2-v4l2.c | 508 +++++++++++++++++++++++++------------
drivers/media/dvb-core/dvb_vb2.c | 5 +-
drivers/media/dvb-frontends/rtl2832_sdr.c | 5 +-
drivers/media/media-device.c | 24 +-
drivers/media/media-request.c | 489 ++++++++++++++++++++++++++++++++++++
drivers/media/pci/bt8xx/bttv-driver.c | 2 +-
drivers/media/pci/cx23885/cx23885-417.c | 2 +-
drivers/media/pci/cx88/cx88-blackbird.c | 2 +-
drivers/media/pci/cx88/cx88-video.c | 2 +-
drivers/media/pci/saa7134/saa7134-empress.c | 4 +-
drivers/media/pci/saa7134/saa7134-video.c | 2 +-
drivers/media/platform/exynos4-is/fimc-capture.c | 2 +-
drivers/media/platform/omap3isp/ispvideo.c | 4 +-
drivers/media/platform/rcar-vin/rcar-core.c | 2 +-
drivers/media/platform/rcar_drif.c | 2 +-
drivers/media/platform/s3c-camif/camif-capture.c | 4 +-
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 4 +-
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 4 +-
drivers/media/platform/soc_camera/soc_camera.c | 7 +-
drivers/media/platform/vim2m.c | 49 ++--
drivers/media/platform/vivid/vivid-core.c | 69 +++++
drivers/media/platform/vivid/vivid-core.h | 8 +
drivers/media/platform/vivid/vivid-ctrls.c | 46 ++--
drivers/media/platform/vivid/vivid-kthread-cap.c | 12 +
drivers/media/platform/vivid/vivid-kthread-out.c | 12 +
drivers/media/platform/vivid/vivid-sdr-cap.c | 16 ++
drivers/media/platform/vivid/vivid-vbi-cap.c | 10 +
drivers/media/platform/vivid/vivid-vbi-out.c | 10 +
drivers/media/platform/vivid/vivid-vid-cap.c | 10 +
drivers/media/platform/vivid/vivid-vid-out.c | 10 +
drivers/media/usb/cpia2/cpia2_v4l.c | 2 +-
drivers/media/usb/cx231xx/cx231xx-417.c | 2 +-
drivers/media/usb/cx231xx/cx231xx-video.c | 4 +-
drivers/media/usb/msi2500/msi2500.c | 2 +-
drivers/media/usb/tm6000/tm6000-video.c | 2 +-
drivers/media/usb/uvc/uvc_queue.c | 5 +-
drivers/media/usb/uvc/uvc_v4l2.c | 3 +-
drivers/media/usb/uvc/uvcvideo.h | 1 +
drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 14 +-
drivers/media/v4l2-core/v4l2-ctrls.c | 541 ++++++++++++++++++++++++++++++++++++++--
drivers/media/v4l2-core/v4l2-dev.c | 18 +-
drivers/media/v4l2-core/v4l2-device.c | 3 +-
drivers/media/v4l2-core/v4l2-ioctl.c | 44 +++-
drivers/media/v4l2-core/v4l2-mem2mem.c | 67 ++++-
drivers/media/v4l2-core/v4l2-subdev.c | 9 +-
drivers/staging/media/davinci_vpfe/vpfe_video.c | 7 +-
drivers/staging/media/imx/imx-media-dev.c | 2 +-
drivers/staging/media/imx/imx-media-fim.c | 2 +-
drivers/staging/media/omap4iss/iss_video.c | 3 +-
drivers/usb/gadget/function/uvc_queue.c | 2 +-
include/media/media-device.h | 29 +++
include/media/media-request.h | 386 ++++++++++++++++++++++++++++
include/media/v4l2-ctrls.h | 123 ++++++++-
include/media/v4l2-device.h | 11 +
include/media/v4l2-mem2mem.h | 4 +
include/media/videobuf2-core.h | 62 ++++-
include/media/videobuf2-v4l2.h | 20 +-
include/uapi/linux/media.h | 8 +
include/uapi/linux/videodev2.h | 14 +-
75 files changed, 3369 insertions(+), 363 deletions(-)
create mode 100644 Documentation/media/uapi/mediactl/media-ioc-request-alloc.rst
create mode 100644 Documentation/media/uapi/mediactl/media-request-ioc-queue.rst
create mode 100644 Documentation/media/uapi/mediactl/media-request-ioc-reinit.rst
create mode 100644 Documentation/media/uapi/mediactl/request-api.rst
create mode 100644 Documentation/media/uapi/mediactl/request-func-close.rst
create mode 100644 Documentation/media/uapi/mediactl/request-func-ioctl.rst
create mode 100644 Documentation/media/uapi/mediactl/request-func-poll.rst
create mode 100644 drivers/media/media-request.c
create mode 100644 include/media/media-request.h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [GIT PULL FOR v4.20] Add Request API for the topic branch
2018-08-30 10:40 [GIT PULL FOR v4.20] Add Request API for the topic branch Hans Verkuil
@ 2018-08-31 15:31 ` Mauro Carvalho Chehab
2018-08-31 15:49 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2018-08-31 15:31 UTC (permalink / raw)
To: Hans Verkuil; +Cc: Linux Media Mailing List
Em Thu, 30 Aug 2018 12:40:38 +0200
Hans Verkuil <hverkuil@xs4all.nl> escreveu:
> Hi Mauro,
>
> This is a pull request to add the Request API v18 as a topic branch.
>
> Note that this does not yet include the follow-up patches:
>
> https://www.mail-archive.com/linux-media@vger.kernel.org/msg134630.html
>
> Those will come in a separate pull request on top of this one once this is
> agreed upon (hopefully soon!).
>
> Regards,
>
> Hans
>
> The following changes since commit 3799eca51c5be3cd76047a582ac52087373b54b3:
>
> media: camss: add missing includes (2018-08-29 14:02:06 -0400)
>
> are available in the Git repository at:
>
> git://linuxtv.org/hverkuil/media_tree.git reqv18
>
> for you to fetch changes up to 1212ceb69544eee3864ec8461bc53ee6ddd87fb0:
>
> vivid: add request support (2018-08-30 12:01:28 +0200)
This pull request breaks compilation with 386:
drivers/media/platform/vivid/vivid-osd.c:./include/linux/slab.h:631:13: error: undefined identifier '__builtin_mul_overflow'
drivers/media/platform/vivid/vivid-osd.c:./include/linux/slab.h:631:13: warning: call with no type!
Thanks,
Mauro
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [GIT PULL FOR v4.20] Add Request API for the topic branch
2018-08-31 15:31 ` Mauro Carvalho Chehab
@ 2018-08-31 15:49 ` Mauro Carvalho Chehab
0 siblings, 0 replies; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2018-08-31 15:49 UTC (permalink / raw)
To: Hans Verkuil; +Cc: Linux Media Mailing List
Em Fri, 31 Aug 2018 12:31:02 -0300
Mauro Carvalho Chehab <mchehab+samsung@kernel.org> escreveu:
> Em Thu, 30 Aug 2018 12:40:38 +0200
> Hans Verkuil <hverkuil@xs4all.nl> escreveu:
>
> > Hi Mauro,
> >
> > This is a pull request to add the Request API v18 as a topic branch.
> >
> > Note that this does not yet include the follow-up patches:
> >
> > https://www.mail-archive.com/linux-media@vger.kernel.org/msg134630.html
> >
> > Those will come in a separate pull request on top of this one once this is
> > agreed upon (hopefully soon!).
> >
> > Regards,
> >
> > Hans
> >
> > The following changes since commit 3799eca51c5be3cd76047a582ac52087373b54b3:
> >
> > media: camss: add missing includes (2018-08-29 14:02:06 -0400)
> >
> > are available in the Git repository at:
> >
> > git://linuxtv.org/hverkuil/media_tree.git reqv18
> >
> > for you to fetch changes up to 1212ceb69544eee3864ec8461bc53ee6ddd87fb0:
> >
> > vivid: add request support (2018-08-30 12:01:28 +0200)
>
> This pull request breaks compilation with 386:
>
> drivers/media/platform/vivid/vivid-osd.c:./include/linux/slab.h:631:13: error: undefined identifier '__builtin_mul_overflow'
> drivers/media/platform/vivid/vivid-osd.c:./include/linux/slab.h:631:13: warning: call with no type!
False alarm. This seems to be just some random noise from a static
code analizer.
>
> Thanks,
> Mauro
Thanks,
Mauro
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-08-31 19:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-30 10:40 [GIT PULL FOR v4.20] Add Request API for the topic branch Hans Verkuil
2018-08-31 15:31 ` Mauro Carvalho Chehab
2018-08-31 15:49 ` Mauro Carvalho Chehab
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.