mbox series

[GIT,PULL,FOR,v5.19] mtk-vcodec: support for M8192 and MT8186 decoder

Message ID 0dd99c3a-09e0-a6ae-0d1e-1e66fa78ab5e@xs4all.nl (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL,FOR,v5.19] mtk-vcodec: support for M8192 and MT8186 decoder | expand

Pull-request

git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.19g

Message

Hans Verkuil May 13, 2022, 7:36 a.m. UTC
The following changes since commit be938c70e292731f81226917fc214683e66da577:

  media: uvcvideo: Add UVC_GUID_FORMAT_H265 (2022-05-08 07:10:51 +0200)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.19g

for you to fetch changes up to 21ee9bd79b5bb2af73fa0fb25bde07d1d35dd822:

  media: mediatek: vcodec: add h264 decoder driver for mt8186 (2022-05-13 09:18:47 +0200)

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

----------------------------------------------------------------
Yunfei Dong (21):
      media: mediatek: vcodec: Fix v4l2 compliance decoder cmd test fail
      media: mediatek: vcodec: Add vdec enable/disable hardware helpers
      media: mediatek: vcodec: Using firmware type to separate different firmware architecture
      media: mediatek: vcodec: get capture queue buffer size from scp
      media: mediatek: vcodec: Read max resolution from dec_capability
      media: mediatek: vcodec: set each plane bytesused in buf prepare
      media: mediatek: vcodec: Refactor get and put capture buffer flow
      media: mediatek: vcodec: Refactor supported vdec formats and framesizes
      media: mediatek: vcodec: Getting supported decoder format types
      media: mediatek: vcodec: Add format to support MT21C
      media: mediatek: vcodec: disable vp8 4K capability
      media: mediatek: vcodec: Fix v4l2-compliance fail
      media: mediatek: vcodec: record capture queue format type
      media: mediatek: vcodec: Extract H264 common code
      media: mediatek: vcodec: support stateless H.264 decoding for mt8192
      media: mediatek: vcodec: support stateless VP8 decoding
      media: mediatek: vcodec: support stateless VP9 decoding
      media: mediatek: vcodec: prevent kernel crash when rmmod mtk-vcodec-dec.ko
      dt-bindings: media: mediatek: vcodec: Adds decoder dt-bindings for mt8186
      media: mediatek: vcodec: Support MT8186
      media: mediatek: vcodec: add h264 decoder driver for mt8186

 Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml |    4 +-
 drivers/media/platform/mediatek/vcodec/Kconfig                              |    1 +
 drivers/media/platform/mediatek/vcodec/Makefile                             |    4 +
 drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.c                     |   75 +-
 drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec.h                     |    1 +
 drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_drv.c                 |   15 +-
 drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_pm.c                  |  166 +--
 drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_pm.h                  |    6 +-
 drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateful.c            |   19 +-
 drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateless.c           |  276 +++--
 drivers/media/platform/mediatek/vcodec/mtk_vcodec_drv.h                     |   41 +-
 drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc_drv.c                 |    5 -
 drivers/media/platform/mediatek/vcodec/mtk_vcodec_fw.c                      |    6 +
 drivers/media/platform/mediatek/vcodec/mtk_vcodec_fw.h                      |    1 +
 drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_common.c          |  310 ++++++
 drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_common.h          |  274 +++++
 drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_if.c              |  438 +-------
 drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_multi_if.c        |  801 ++++++++++++++
 drivers/media/platform/mediatek/vcodec/vdec/vdec_vp8_req_if.c               |  437 ++++++++
 drivers/media/platform/mediatek/vcodec/vdec/vdec_vp9_req_lat_if.c           | 2030 ++++++++++++++++++++++++++++++++++++
 drivers/media/platform/mediatek/vcodec/vdec_drv_if.c                        |   37 +-
 drivers/media/platform/mediatek/vcodec/vdec_drv_if.h                        |    3 +
 drivers/media/platform/mediatek/vcodec/vdec_ipi_msg.h                       |   36 +
 drivers/media/platform/mediatek/vcodec/vdec_msg_queue.c                     |    2 +
 drivers/media/platform/mediatek/vcodec/vdec_msg_queue.h                     |    2 +
 drivers/media/platform/mediatek/vcodec/vdec_vpu_if.c                        |   53 +-
 drivers/media/platform/mediatek/vcodec/vdec_vpu_if.h                        |   15 +
 drivers/media/platform/mediatek/vcodec/venc_vpu_if.c                        |    2 +-
 include/linux/remoteproc/mtk_scp.h                                          |    2 +
 29 files changed, 4448 insertions(+), 614 deletions(-)
 create mode 100644 drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_common.c
 create mode 100644 drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_common.h
 create mode 100644 drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_multi_if.c
 create mode 100644 drivers/media/platform/mediatek/vcodec/vdec/vdec_vp8_req_if.c
 create mode 100644 drivers/media/platform/mediatek/vcodec/vdec/vdec_vp9_req_lat_if.c

Comments

Jenkins May 13, 2022, 10:19 a.m. UTC | #1
From: builder@linuxtv.org

Pull request: https://patchwork.linuxtv.org/project/linux-media/patch/0dd99c3a-09e0-a6ae-0d1e-1e66fa78ab5e@xs4all.nl/
Build log: https://builder.linuxtv.org/job/patchwork/207145/
Build time: 00:31:57
Link: https://lore.kernel.org/linux-media/0dd99c3a-09e0-a6ae-0d1e-1e66fa78ab5e@xs4all.nl

gpg: Signature made Fri 13 May 2022 07:34:58 AM UTC
gpg:                using EDDSA key 52ADCAAE8A4F70B99ACD8D726B425DF79B1C1E76
gpg: Can't check signature: No public key

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

Error/warnings:

patches/0001-media-mediatek-vcodec-Fix-v4l2-compliance-decoder-cm.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/platform/qcom/venus/helpers.c: ../drivers/media/platform/qcom/venus/helpers.c:678 venus_helper_get_bufreq() error: we previously assumed 'req' could be null (see line 674)
	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/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
	../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:2888 em28xx_v4l2_init() parse error: turning off implications after 60 seconds

patches/0014-media-mediatek-vcodec-Extract-H264-common-code.patch:

   checkpatch.pl:
	$ cat patches/0014-media-mediatek-vcodec-Extract-H264-common-code.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:39: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
	-:53: CHECK: Macro argument 'cond' may be better as '(cond)' to avoid precedence issues
	-:53: CHECK: Macro argument 'flag' may be better as '(flag)' to avoid precedence issues
	-:55: CHECK: Macro argument reuse 'param' - possible side-effects?
	-:55: CHECK: Macro argument 'param' may be better as '(param)' to avoid precedence issues

patches/0015-media-mediatek-vcodec-support-stateless-H.264-decodi.patch:

   checkpatch.pl:
	$ cat patches/0015-media-mediatek-vcodec-support-stateless-H.264-decodi.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:38: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?

patches/0016-media-mediatek-vcodec-support-stateless-VP8-decoding.patch:

   checkpatch.pl:
	$ cat patches/0016-media-mediatek-vcodec-support-stateless-VP8-decoding.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:105: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?

patches/0017-media-mediatek-vcodec-support-stateless-VP9-decoding.patch:

   checkpatch.pl:
	$ cat patches/0017-media-mediatek-vcodec-support-stateless-VP9-decoding.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:119: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


Error #512 when building PDF docs