[GIT PULL FOR v4.21 v2] Various fixes/improvements

2018-11-23 Thread Hans Verkuil
The following changes since commit 5200ab6a32d6055428896a49ec9e3b1652c1a100:

  media: vidioc_cropcap -> vidioc_g_pixelaspect (2018-11-20 13:57:21 -0500)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-v4.20d3

for you to fetch changes up to d5d871b0c676aed893d928a2ad3ac69c55f1da8c:

  media: vicodec: Add support for 4 planes formats (2018-11-23 09:37:43 +0100)


Tag branch


Akinobu Mita (5):
  media: video-i2c: avoid accessing released memory area when removing 
driver
  media: video-i2c: use i2c regmap
  media: v4l2-common: add V4L2_FRACT_COMPARE
  media: vivid: use V4L2_FRACT_COMPARE
  media: video-i2c: support changing frame interval

Alexey Khoroshilov (1):
  media: mtk-vcodec: Release device nodes in mtk_vcodec_init_enc_pm()

Dafna Hirschfeld (3):
  media: vicodec: prepare support for various number of planes
  media: vicodec: Add support of greyscale format
  media: vicodec: Add support for 4 planes formats

Eric Biggers (1):
  media: v4l: constify v4l2_ioctls[]

Hans Verkuil (2):
  vim2m/vicodec: set device_caps in video_device struct
  vidioc-enum-fmt.rst: update list of valid buftypes

Julia Lawall (1):
  media: video-i2c: hwmon: constify vb2_ops structure

Malathi Gottam (1):
  media: venus: change the default value of GOP size

 Documentation/media/uapi/v4l/vidioc-enum-fmt.rst  |   8 ++-
 drivers/media/i2c/video-i2c.c | 153 
+++--
 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c |  10 ++--
 drivers/media/platform/qcom/venus/venc_ctrls.c|   2 +-
 drivers/media/platform/vicodec/codec-fwht.c   |  84 
+--
 drivers/media/platform/vicodec/codec-fwht.h   |  15 +++--
 drivers/media/platform/vicodec/codec-v4l2-fwht.c  | 123 
+--
 drivers/media/platform/vicodec/codec-v4l2-fwht.h  |   3 +-
 drivers/media/platform/vicodec/vicodec-core.c |  45 +++
 drivers/media/platform/vim2m.c|   3 +-
 drivers/media/platform/vivid/vivid-vid-cap.c  |   9 +--
 drivers/media/v4l2-core/v4l2-ioctl.c  |   2 +-
 include/media/v4l2-common.h   |   5 ++
 13 files changed, 328 insertions(+), 134 deletions(-)


[GIT PULL FOR v4.21 v2] Various fixes

2018-11-23 Thread Hans Verkuil
(fixed my SoB mess in this v2)

Various fixes, mostly related to issues found by syzbot.

The following changes since commit fbe57dde7126d1b2712ab5ea93fb9d15f89de708:

  media: ov7740: constify structures stored in fields of v4l2_subdev_ops 
structure (2018-11-06 07:17:02 -0500)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-v4.21b2

for you to fetch changes up to 3f444acfa6f43e2e9b23907fc820e3e51339565c:

  vivid: free bitmap_cap when updating std/timings/etc. (2018-11-23 09:31:39 
+0100)


Tag branch


Hans Verkuil (6):
  vim2m: use cancel_delayed_work_sync instead of flush_schedule_work
  adv*/tc358743/ths8200: fill in min width/height/pixelclock
  vb2: check memory model for VIDIOC_CREATE_BUFS
  MAINTAINERS fixups
  v4l2-tpg: array index could become negative
  vivid: free bitmap_cap when updating std/timings/etc.

 MAINTAINERS | 10 --
 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c   |  2 +-
 drivers/media/common/videobuf2/videobuf2-core.c |  3 +++
 drivers/media/i2c/ad9389b.c |  2 +-
 drivers/media/i2c/adv7511.c |  2 +-
 drivers/media/i2c/adv7604.c |  4 ++--
 drivers/media/i2c/adv7842.c |  4 ++--
 drivers/media/i2c/tc358743.c|  2 +-
 drivers/media/i2c/ths8200.c |  2 +-
 drivers/media/platform/vim2m.c  |  3 ++-
 drivers/media/platform/vivid/vivid-vid-cap.c|  2 ++
 11 files changed, 20 insertions(+), 16 deletions(-)


[GIT PULL FOR v4.21 v2] Various fixes

2018-11-23 Thread Hans Verkuil
(fixed up my SoB mess)

Just one note: the "cec: keep track of outstanding transmits" is CC-ed to stable
for v4.18 and up, but I prefer to wait until v4.21 before merging it to give it
more test time. It is not something that happens in normal usage, so delaying
this isn't a problem.

Regards,

Hans

The following changes since commit fbe57dde7126d1b2712ab5ea93fb9d15f89de708:

  media: ov7740: constify structures stored in fields of v4l2_subdev_ops 
structure (2018-11-06 07:17:02 -0500)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-v4.21a2

for you to fetch changes up to 9001e4d520f11d344f10092d3217156ec10c6934:

  vivid: fill in media_device bus_info (2018-11-23 09:26:54 +0100)


Tag branch


Hans Verkuil (7):
  adv7604: add CEC support for adv7611/adv7612
  cec: report Vendor ID after initialization
  cec: add debug_phys_addr module option
  cec: keep track of outstanding transmits
  vivid: fix error handling of kthread_run
  vivid: set min width/height to a value > 0
  vivid: fill in media_device bus_info

Julia Lawall (4):
  media: vicodec: constify v4l2_ctrl_ops structure
  media: rockchip/rga: constify v4l2_m2m_ops structure
  media: vimc: constify structures stored in fields of v4l2_subdev_ops 
structure
  media: rockchip/rga: constify video_device structure

Sean Young (1):
  media: v4l uapi docs: few minor corrections and typos

 Documentation/media/uapi/v4l/app-pri.rst |  2 +-
 Documentation/media/uapi/v4l/audio.rst   |  2 +-
 Documentation/media/uapi/v4l/dev-capture.rst |  2 +-
 Documentation/media/uapi/v4l/dev-teletext.rst|  2 +-
 Documentation/media/uapi/v4l/format.rst  |  2 +-
 Documentation/media/uapi/v4l/mmap.rst| 22 +--
 Documentation/media/uapi/v4l/open.rst|  2 +-
 Documentation/media/uapi/v4l/tuner.rst   |  4 ++--
 Documentation/media/uapi/v4l/userp.rst   |  8 +++
 Documentation/media/uapi/v4l/video.rst   |  4 ++--
 drivers/media/cec/cec-adap.c | 34 
++
 drivers/media/cec/cec-core.c |  6 ++
 drivers/media/i2c/adv7604.c  | 63 
++-
 drivers/media/platform/rockchip/rga/rga.c|  4 ++--
 drivers/media/platform/vicodec/vicodec-core.c|  2 +-
 drivers/media/platform/vimc/vimc-sensor.c|  2 +-
 drivers/media/platform/vivid/vivid-core.c|  2 ++
 drivers/media/platform/vivid/vivid-kthread-cap.c |  5 -
 drivers/media/platform/vivid/vivid-kthread-out.c |  5 -
 drivers/media/platform/vivid/vivid-vid-common.c  |  2 +-
 include/media/cec.h  |  1 +
 21 files changed, 125 insertions(+), 51 deletions(-)


[GIT PULL FOR v4.21 v2] Various fixes (coda, rcar, pxp, others)

2018-11-23 Thread Hans Verkuil
Fixed my SoB mess.

Regards,

Hans

The following changes since commit fbe57dde7126d1b2712ab5ea93fb9d15f89de708:

  media: ov7740: constify structures stored in fields of v4l2_subdev_ops 
structure (2018-11-06 07:17:02 -0500)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-v4.21c

for you to fetch changes up to fb248101254782a3939c40eaaa7e347260b27b77:

  pulse8-cec: return 0 when invalidating the logical address (2018-11-14 
16:07:47 +0100)


Tag branch


Fabio Estevam (3):
  media: imx-pxp: Check the return value from clk_prepare_enable()
  media: imx-pxp: Check for pxp_soft_reset() error
  media: imx-pxp: Improve pxp_soft_reset() error message

Hans Verkuil (3):
  vb2: vb2_mmap: move lock up
  cec-pin: fix broken tx_ignore_nack_until_eom error injection
  pulse8-cec: return 0 when invalidating the logical address

Jacopo Mondi (6):
  media: dt-bindings: rcar-vin: Add R8A77990 support
  media: rcar-vin: Add support for R-Car R8A77990
  media: dt-bindings: rcar-csi2: Add R8A77990
  media: rcar-csi2: Add R8A77990 support
  media: rcar: rcar-csi2: Update V3M/E3 PHTW tables
  media: rcar-csi2: Handle per-SoC number of channels

Lucas Stach (2):
  media: coda: limit queueing into internal bitstream buffer
  media: coda: don't disable IRQs across buffer meta handling

Michael Tretter (1):
  media: coda: print SEQ_INIT error code as hex value

Philipp Zabel (12):
  media: coda: fix memory corruption in case more than 32 instances are 
opened
  media: coda: store unmasked fifo position in meta
  media: coda: always hold back decoder jobs until we have enough bitstream 
payload
  media: coda: reduce minimum frame size to 48x16 pixels.
  media: coda: remove unused instances list
  media: coda: set V4L2_CAP_TIMEPERFRAME flag in coda_s_parm
  media: coda: implement ENUM_FRAMEINTERVALS
  media: coda: never set infinite timeperframe
  media: coda: fail S_SELECTION for read-only targets
  media: coda: improve queue busy error message
  media: coda: normalise debug output
  media: coda: debug output when setting visible size via crop selection

Ricardo Ribalda Delgado (1):
  media: doc-rst: Fix broken references

kbuild test robot (1):
  media: platform: fix platform_no_drv_owner.cocci warnings

 Documentation/devicetree/bindings/media/rcar_vin.txt  |   1 +
 Documentation/devicetree/bindings/media/renesas,rcar-csi2.txt |   1 +
 Documentation/media/v4l-drivers/sh_mobile_ceu_camera.rst  |   2 +-
 drivers/media/cec/cec-pin.c   |   5 +-
 drivers/media/common/videobuf2/videobuf2-core.c   |  11 +-
 drivers/media/platform/coda/coda-bit.c| 113 
+++-
 drivers/media/platform/coda/coda-common.c | 231 
++---
 drivers/media/platform/coda/coda.h|  28 -
 drivers/media/platform/coda/trace.h   |  10 +-
 drivers/media/platform/imx-pxp.c  |  17 ++-
 drivers/media/platform/rcar-vin/rcar-core.c   |  20 
 drivers/media/platform/rcar-vin/rcar-csi2.c   |  86 
+--
 drivers/media/platform/sh_vou.c   |   2 +-
 drivers/media/usb/pulse8-cec/pulse8-cec.c |   2 +-
 drivers/staging/media/sunxi/cedrus/cedrus.c   |   1 -
 15 files changed, 319 insertions(+), 211 deletions(-)