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