mbox series

[GIT,PULL,FOR,v5.18] Support multi hardware decode using of_platform_populate

Message ID bcc30b33-9ff6-6802-c2f4-440131b161dc@xs4all.nl (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL,FOR,v5.18] Support multi hardware decode using of_platform_populate | expand

Pull-request

git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.18d

Message

Hans Verkuil Jan. 13, 2022, 9:07 a.m. UTC
The following changes since commit 68b9bcc8a534cd11fe55f8bc82f948aae7d81b3c:

  media: ipu3-cio2: Add support for instantiating i2c-clients for VCMs (2021-12-16 20:58:56 +0100)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.18d

for you to fetch changes up to 844e00f95147ff0c81e1d31a89ca5df25d1a983c:

  media: mtk-vcodec: Remove mtk_vcodec_release_enc_pm (2022-01-13 09:31:10 +0100)

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

----------------------------------------------------------------
Yunfei Dong (19):
      media: mtk-vcodec: Get numbers of register bases from DT
      media: mtk-vcodec: Align vcodec wake up interrupt interface
      media: mtk-vcodec: Refactor vcodec pm interface
      media: mtk-vcodec: export decoder pm functions
      dt-bindings: media: mtk-vcodec: Separate video encoder and decoder dt-bindings
      dt-bindings: media: mtk-vcodec: Adds decoder dt-bindings for mt8192
      media: mtk-vcodec: Support MT8192
      media: mtk-vcodec: Add to support multi hardware decode
      media: mtk-vcodec: Use pure single core for MT8183
      media: mtk-vcodec: Add irq interface for multi hardware
      media: mtk-vcodec: Add msg queue feature for lat and core architecture
      media: mtk-vcodec: Generalize power and clock on/off interfaces
      media: mtk-vcodec: Add new interface to lock different hardware
      media: mtk-vcodec: Add work queue for core hardware decode
      media: mtk-vcodec: Support 34bits dma address for vdec
      media: mtk-vcodec: Add core dec and dec end ipi msg
      media: mtk-vcodec: Use codec type to separate different hardware
      media: mtk-vcodec: Remove mtk_vcodec_release_dec_pm
      media: mtk-vcodec: Remove mtk_vcodec_release_enc_pm

 .../devicetree/bindings/media/mediatek,vcodec-decoder.yaml          | 176 +++++++++++++++++++
 .../devicetree/bindings/media/mediatek,vcodec-encoder.yaml          | 187 ++++++++++++++++++++
 .../devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml   | 265 ++++++++++++++++++++++++++++
 Documentation/devicetree/bindings/media/mediatek-vcodec.txt         | 131 --------------
 drivers/media/platform/mtk-vcodec/Makefile                          |   6 +-
 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c                  |   4 +-
 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h                  |   1 +
 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c              | 178 ++++++++++++++-----
 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c               | 201 +++++++++++++++++++++
 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h               |  56 ++++++
 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c               | 105 ++++++++---
 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h               |  11 +-
 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c         |   2 +
 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c        |  21 +++
 drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h                  |  74 +++++++-
 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c              |  21 +--
 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c               |  10 +-
 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h               |   3 +-
 drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c                 |  30 ++--
 drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h                 |   5 +-
 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c                 |  59 +++++--
 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h                 |   8 +-
 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c               |   2 +-
 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c           |   2 +-
 drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c                |   2 +-
 drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c                |   2 +-
 drivers/media/platform/mtk-vcodec/vdec_drv_if.c                     |  21 +--
 drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h                    |  16 +-
 drivers/media/platform/mtk-vcodec/vdec_msg_queue.c                  | 290 +++++++++++++++++++++++++++++++
 drivers/media/platform/mtk-vcodec/vdec_msg_queue.h                  | 153 ++++++++++++++++
 drivers/media/platform/mtk-vcodec/vdec_vpu_if.c                     |  46 ++++-
 drivers/media/platform/mtk-vcodec/vdec_vpu_if.h                     |  22 +++
 drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c               |   2 +-
 drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c                |   2 +-
 34 files changed, 1818 insertions(+), 296 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,vcodec-decoder.yaml
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml
 create mode 100644 Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml
 delete mode 100644 Documentation/devicetree/bindings/media/mediatek-vcodec.txt
 create mode 100644 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c
 create mode 100644 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h
 create mode 100644 drivers/media/platform/mtk-vcodec/vdec_msg_queue.c
 create mode 100644 drivers/media/platform/mtk-vcodec/vdec_msg_queue.h

Comments

Jenkins Jan. 13, 2022, 9:38 a.m. UTC | #1
From: builder@linuxtv.org

Pull request: https://patchwork.linuxtv.org/project/linux-media/patch/bcc30b33-9ff6-6802-c2f4-440131b161dc@xs4all.nl/
Build log: https://builder.linuxtv.org/job/patchwork/173684/
Build time: 00:25:23
Link: https://lore.kernel.org/linux-media/bcc30b33-9ff6-6802-c2f4-440131b161dc@xs4all.nl

gpg: Signature made Thu 13 Jan 2022 08:58:24 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>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 052C DE7B C215 053B 689F  1BCA BD2D 6148 6614 3B4C
     Subkey fingerprint: AAA7 FFBA 4D2D 77EF 4CAE  A142 1326 E0CD 23AB DCE5

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

Error/warnings:

patches/0001-media-mtk-vcodec-Get-numbers-of-register-bases-from-.patch:

    allyesconfig: return code #0:
	../scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
	../scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
	../scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples

    allyesconfig: return code #0:
	../drivers/media/rc/meson-ir-tx.c:22: warning: expecting prototype for meson(). Prototype was for DEVICE_NAME() instead
	../drivers/media/i2c/ov8865.c: ../drivers/media/i2c/ov8865.c:2843 ov8865_get_selection() warn: inconsistent indenting
	../drivers/media/test-drivers/vivid/vivid-core.c: ../drivers/media/test-drivers/vivid/vivid-core.c:1981 vivid_create_instance() parse error: turning off implications after 60 seconds
	SMATCH:../drivers/media/usb/siano/smsusb.c ../drivers/media/usb/siano/smsusb.c:53:38: :warning: array of flexible structures
	SPARSE:../drivers/media/usb/siano/smsusb.c ../drivers/media/usb/siano/smsusb.c:53:38: warning: array of flexible structures
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2625 dvb_register() parse error: turning off implications after 60 seconds
	../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2868 em28xx_v4l2_init() parse error: turning off implications after 60 seconds
	../drivers/media/platform/qcom/venus/helpers.c: ../drivers/media/platform/qcom/venus/helpers.c:658 venus_helper_get_bufreq() error: we previously assumed 'req' could be null (see line 654)

patches/0005-dt-bindings-media-mtk-vcodec-Separate-video-encoder-.patch:

   checkpatch.pl:
	$ cat patches/0005-dt-bindings-media-mtk-vcodec-Separate-video-encoder-.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:21: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
	-:399: WARNING: DT binding docs and includes should be a separate patch. See: Documentation/devicetree/bindings/submitting-patches.rst

patches/0006-dt-bindings-media-mtk-vcodec-Adds-decoder-dt-binding.patch:

   checkpatch.pl:
	$ cat patches/0006-dt-bindings-media-mtk-vcodec-Adds-decoder-dt-binding.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:17: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?

patches/0008-media-mtk-vcodec-Add-to-support-multi-hardware-decod.patch:

   checkpatch.pl:
	$ cat patches/0008-media-mtk-vcodec-Add-to-support-multi-hardware-decod.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:192: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?

patches/0011-media-mtk-vcodec-Add-msg-queue-feature-for-lat-and-c.patch:

   checkpatch.pl:
	$ cat patches/0011-media-mtk-vcodec-Add-msg-queue-feature-for-lat-and-c.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:84: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


Error #512 when building PDF docs