linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL FOR v5.10] Various fixes and enhancements (CSC uAPI)
@ 2020-09-10 11:05 Hans Verkuil
  2020-09-10 12:25 ` [GIT PULL FOR v5.10] Various fixes and enhancements (CSC uAPI) (#66870) Jenkins
  0 siblings, 1 reply; 2+ messages in thread
From: Hans Verkuil @ 2020-09-10 11:05 UTC (permalink / raw)
  To: Linux Media Mailing List; +Cc: Dafna Hirschfeld, Helen Koike

This PR has the usual set of fixes, but this also adds support for the
CSC API that allows userspace to specify a desired colorspace/transfer
function/ycbcr encoding/quantization range when capturing video.

This is needed for rkisp1 and has been on my wish list for a long time.

Patches for v4l-utils to support this are ready and can be merged once
this is in.

Regards,

	Hans

The following changes since commit d034731bb4b4f2bf5f378231a6d99e59c2cb59f6:

  media: vivid: fix compile warning/error (2020-09-08 11:54:00 +0200)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.10a

for you to fetch changes up to 5ea190237b156607be4c65139938ac094bc8b7ba:

  videobuf2: use sgtable-based scatterlist wrappers (2020-09-10 11:42:09 +0200)

----------------------------------------------------------------
Tag branch

----------------------------------------------------------------
Alexandre Courbot (2):
      media: v4l2-mem2mem: always consider OUTPUT queue during poll
      media: v4l2-mem2mem: simplify poll logic

Corentin Labbe (1):
      MAINTAINERS: media: cec: fix files location

Dafna Hirschfeld (6):
      v4l2: add support for colorspace conversion API (CSC) for video capture
      media: vivid: Add support to the CSC API
      v4l2: extend the CSC API to subdevice.
      media: staging: rkisp1: allow quantization setting by userspace on the isp source pad
      media: staging: rkisp1: rsz: set flags to 0 in enum_mbus_code cb
      media: mtk-mdp: Fix Null pointer dereference when calling list_add

Dinghao Liu (1):
      media: mx2_emmaprp: Fix memleak in emmaprp_probe

Greg Kroah-Hartman (1):
      media: usb: uvc: no need to check return value of debugfs_create functions

Hans Verkuil (2):
      cec-core.c: stop kthread_config before kthread
      cec-adap.c: add 'unregistered' checks

Marek Szyprowski (2):
      media: pci: fix common ALSA DMA-mapping related codes
      videobuf2: use sgtable-based scatterlist wrappers

Sowjanya Komatineni (1):
      media: tegra-video: Fix compilation warning of unused variable

Tom Rix (2):
      media: tc358743: initialize variable
      media: tc358743: cleanup tc358743_cec_isr

Wei Yongjun (1):
      media: marvell-ccic: mmp: mark PM functions as __maybe_unused

 Documentation/userspace-api/media/v4l/pixfmt-v4l2-mplane.rst           | 16 +++---------
 Documentation/userspace-api/media/v4l/pixfmt-v4l2.rst                  | 64 ++++++++++++++++++++++++++++++++++++++++++++----
 Documentation/userspace-api/media/v4l/subdev-formats.rst               | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------
 Documentation/userspace-api/media/v4l/vidioc-enum-fmt.rst              | 35 +++++++++++++++++++++++++++
 Documentation/userspace-api/media/v4l/vidioc-subdev-enum-mbus-code.rst | 51 ++++++++++++++++++++++++++++++++++++++-
 Documentation/userspace-api/media/videodev2.h.rst.exceptions           |  5 ++++
 MAINTAINERS                                                            | 16 ++++++------
 drivers/media/cec/core/cec-adap.c                                      |  6 +++++
 drivers/media/cec/core/cec-core.c                                      |  2 +-
 drivers/media/common/videobuf2/videobuf2-dma-contig.c                  | 34 ++++++++++++--------------
 drivers/media/common/videobuf2/videobuf2-dma-sg.c                      | 32 +++++++++---------------
 drivers/media/common/videobuf2/videobuf2-vmalloc.c                     | 12 +++------
 drivers/media/i2c/tc358743.c                                           | 14 ++++++-----
 drivers/media/pci/cx23885/cx23885-alsa.c                               |  4 +--
 drivers/media/pci/cx25821/cx25821-alsa.c                               |  4 +--
 drivers/media/pci/cx88/cx88-alsa.c                                     |  6 ++---
 drivers/media/pci/saa7134/saa7134-alsa.c                               |  4 +--
 drivers/media/platform/marvell-ccic/mmp-driver.c                       |  4 +--
 drivers/media/platform/mtk-mdp/mtk_mdp_core.c                          |  2 +-
 drivers/media/platform/mx2_emmaprp.c                                   |  7 ++++--
 drivers/media/test-drivers/vivid/vivid-vid-cap.c                       | 38 ++++++++++++++++++++++++-----
 drivers/media/test-drivers/vivid/vivid-vid-common.c                    | 25 +++++++++++++++++++
 drivers/media/usb/uvc/uvc_debugfs.c                                    | 20 +++------------
 drivers/media/v4l2-core/v4l2-mem2mem.c                                 | 28 ++++-----------------
 drivers/staging/media/rkisp1/TODO                                      |  2 +-
 drivers/staging/media/rkisp1/rkisp1-capture.c                          | 10 --------
 drivers/staging/media/rkisp1/rkisp1-isp.c                              | 20 ++++++++++++---
 drivers/staging/media/rkisp1/rkisp1-resizer.c                          |  1 +
 drivers/staging/media/tegra-video/vi.c                                 |  2 ++
 include/media/v4l2-common.h                                            | 29 ++++++++++++++++++++++
 include/uapi/linux/v4l2-mediabus.h                                     | 15 ++++++++++--
 include/uapi/linux/v4l2-subdev.h                                       | 10 +++++++-
 include/uapi/linux/videodev2.h                                         |  6 +++++
 33 files changed, 452 insertions(+), 167 deletions(-)

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

* Re: [GIT PULL FOR v5.10] Various fixes and enhancements (CSC uAPI) (#66870)
  2020-09-10 11:05 [GIT PULL FOR v5.10] Various fixes and enhancements (CSC uAPI) Hans Verkuil
@ 2020-09-10 12:25 ` Jenkins
  0 siblings, 0 replies; 2+ messages in thread
From: Jenkins @ 2020-09-10 12:25 UTC (permalink / raw)
  To: mchehab+samsung, linux-media; +Cc: builder

From: builder@linuxtv.org

Pull request: https://patchwork.linuxtv.org/project/linux-media/patch/707bbc69-b071-4fb0-71ff-a54eb87a60f9@xs4all.nl/
Build log: https://builder.linuxtv.org/job/patchwork/67709/
Build time: 00:03:31
Link: https://lore.kernel.org/linux-media/707bbc69-b071-4fb0-71ff-a54eb87a60f9@xs4all.nl

gpg: Signature made Thu 10 Sep 2020 11:01:59 AM UTC
gpg:                using RSA key AAA7FFBA4D2D77EF4CAEA1421326E0CD23ABDCE5
gpg: Good signature from "Hans Verkuil <hverkuil-cisco@xs4all.nl>" [unknown]
gpg:                 aka "Hans Verkuil <hverkuil@xs4all.nl>" [full]

Summary: got 4/19 patches with issues, being 4 at build time, plus one error when buinding PDF document

Error/warnings:

patches/0001-media-usb-uvc-no-need-to-check-return-value-of-debug.patch:

    allyesconfig: return code #0:
	../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c: ../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:703 is_pipe_valid_to_current_run_mode() warn: ignoring unreachable code.
	../drivers/staging/media/atomisp/pci/sh_css.c:1685:16: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]

    allyesconfig: return code #0:
	../drivers/media/test-drivers/vivid/vivid-core.c: ../drivers/media/test-drivers/vivid/vivid-core.c:1909 vivid_create_instance() parse error: turning off implications after 60 seconds
	../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2841 em28xx_v4l2_init() parse error: turning off implications after 60 seconds

patches/0005-v4l2-add-support-for-colorspace-conversion-API-CSC-f.patch:

    allyesconfig: return code #0:
	../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c: ../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:703 is_pipe_valid_to_current_run_mode() warn: ignoring unreachable code.
	../drivers/staging/media/atomisp/pci/sh_css.c:1685:16: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]

    allyesconfig: return code #0:
	../drivers/media/test-drivers/vivid/vivid-core.c: ../drivers/media/test-drivers/vivid/vivid-core.c:1909 vivid_create_instance() parse error: turning off implications after 60 seconds
	../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2856 em28xx_v4l2_init() parse error: turning off implications after 60 seconds

patches/0006-media-vivid-Add-support-to-the-CSC-API.patch:

    allyesconfig: return code #0:
	../drivers/staging/media/atomisp/pci/sh_css.c:1685:16: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
	../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c: ../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:703 is_pipe_valid_to_current_run_mode() warn: ignoring unreachable code.

    allyesconfig: return code #0:
	../drivers/media/test-drivers/vivid/vivid-core.c: ../drivers/media/test-drivers/vivid/vivid-core.c:1909 vivid_create_instance() parse error: turning off implications after 60 seconds
	../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2841 em28xx_v4l2_init() parse error: turning off implications after 60 seconds

patches/0007-v4l2-extend-the-CSC-API-to-subdevice.patch:

    allyesconfig: return code #0:
	../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c: ../drivers/staging/media/atomisp/pci/atomisp_compat_css20.c:703 is_pipe_valid_to_current_run_mode() warn: ignoring unreachable code.
	../drivers/staging/media/atomisp/pci/sh_css.c:1685:16: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]

    allyesconfig: return code #0:
	../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2841 em28xx_v4l2_init() parse error: turning off implications after 60 seconds


Error #512 when building PDF docs


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

end of thread, other threads:[~2020-09-10 12:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 11:05 [GIT PULL FOR v5.10] Various fixes and enhancements (CSC uAPI) Hans Verkuil
2020-09-10 12:25 ` [GIT PULL FOR v5.10] Various fixes and enhancements (CSC uAPI) (#66870) Jenkins

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).