mbox series

[GIT,PULL,FOR,v6.5] Add AV1 stateless decoder support

Message ID 52a82b66-a068-80eb-9e40-d4c61cb0272d@xs4all.nl (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL,FOR,v6.5] Add AV1 stateless decoder support | expand

Pull-request

git://linuxtv.org/hverkuil/media_tree.git tags/br-v6.5c

Message

Hans Verkuil May 30, 2023, 10:40 a.m. UTC
Hi all,

This PR adds support for the AV1 stateless decoder API. The first patch adds the
public API for this, then AV1 support is added to the verisilicon driver, and the
last patch adds support to the mediatek driver.

Many thanks to Collabora and MediaTek for working on this! Much appreciated!

Regards,

	Hans

The following changes since commit aafeeaf3d2a8a91a5407c774c578abec79dcff00:

  media: video-mux: update driver to active state (2023-05-26 10:58:18 +0100)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-v6.5c

for you to fetch changes up to d50739a417aba71e47bc48598d920ec692e1c6a8:

  media: mediatek: vcodec: support stateless AV1 decoder (2023-05-26 12:58:12 +0200)

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

----------------------------------------------------------------
Benjamin Gaignard (12):
      dt-bindings: media: rockchip-vpu: Add rk3588 vpu compatible
      media: AV1: Make sure that bit depth in correctly initialize
      media: Add NV15_4L4 pixel format
      media: verisilicon: Get bit depth for V4L2_PIX_FMT_NV15_4L4
      media: verisilicon: Add AV1 decoder mode and controls
      media: verisilicon: Check AV1 bitstreams bit depth
      media: verisilicon: Compute motion vectors size for AV1 frames
      media: verisilicon: Add AV1 entropy helpers
      media: verisilicon: Add Rockchip AV1 decoder
      media: verisilicon: Add film grain feature to AV1 driver
      media: verisilicon: Enable AV1 decoder on rk3588
      media: verisilicon: Conditionally ignore native formats

Daniel Almeida (1):
      media: Add AV1 uAPI

Nicolas Dufresne (1):
      v4l2-common: Add support for fractional bpp

Xiaoyong Lu (1):
      media: mediatek: vcodec: support stateless AV1 decoder

 Documentation/devicetree/bindings/media/rockchip-vpu.yaml           |    1 +
 Documentation/userspace-api/media/v4l/biblio.rst                    |    9 +
 Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst | 1209 +++++++++++++++++++++++-
 Documentation/userspace-api/media/v4l/pixfmt-compressed.rst         |   16 +
 Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst         |   16 +
 Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst        |   16 +
 Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst          |   24 +
 Documentation/userspace-api/media/videodev2.h.rst.exceptions        |    4 +
 drivers/media/platform/mediatek/vcodec/Makefile                     |    1 +
 drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateless.c   |   42 +
 drivers/media/platform/mediatek/vcodec/mtk_vcodec_drv.h             |    1 +
 drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c   | 2207 +++++++++++++++++++++++++++++++++++++++++++
 drivers/media/platform/mediatek/vcodec/vdec_drv_if.c                |    4 +
 drivers/media/platform/mediatek/vcodec/vdec_drv_if.h                |    1 +
 drivers/media/platform/mediatek/vcodec/vdec_msg_queue.c             |   27 +
 drivers/media/platform/mediatek/vcodec/vdec_msg_queue.h             |    4 +
 drivers/media/platform/verisilicon/Makefile                         |    3 +
 drivers/media/platform/verisilicon/hantro.h                         |    8 +
 drivers/media/platform/verisilicon/hantro_drv.c                     |   68 +-
 drivers/media/platform/verisilicon/hantro_hw.h                      |  102 ++
 drivers/media/platform/verisilicon/hantro_postproc.c                |    9 +-
 drivers/media/platform/verisilicon/hantro_v4l2.c                    |   67 +-
 drivers/media/platform/verisilicon/hantro_v4l2.h                    |    8 +-
 drivers/media/platform/verisilicon/rockchip_av1_entropymode.c       | 4424 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/media/platform/verisilicon/rockchip_av1_entropymode.h       |  272 ++++++
 drivers/media/platform/verisilicon/rockchip_av1_filmgrain.c         |  401 ++++++++
 drivers/media/platform/verisilicon/rockchip_av1_filmgrain.h         |   36 +
 drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c     | 2232 +++++++++++++++++++++++++++++++++++++++++++
 drivers/media/platform/verisilicon/rockchip_vpu981_regs.h           |  477 ++++++++++
 drivers/media/platform/verisilicon/rockchip_vpu_hw.c                |  134 +++
 drivers/media/v4l2-core/v4l2-common.c                               |  158 ++--
 drivers/media/v4l2-core/v4l2-ctrls-core.c                           |  263 ++++++
 drivers/media/v4l2-core/v4l2-ctrls-defs.c                           |   61 ++
 drivers/media/v4l2-core/v4l2-ioctl.c                                |    2 +
 include/media/v4l2-common.h                                         |    2 +
 include/media/v4l2-ctrls.h                                          |    8 +
 include/uapi/linux/v4l2-controls.h                                  |  721 ++++++++++++++
 include/uapi/linux/videodev2.h                                      |   11 +
 38 files changed, 12946 insertions(+), 103 deletions(-)
 create mode 100644 drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c
 create mode 100644 drivers/media/platform/verisilicon/rockchip_av1_entropymode.c
 create mode 100644 drivers/media/platform/verisilicon/rockchip_av1_entropymode.h
 create mode 100644 drivers/media/platform/verisilicon/rockchip_av1_filmgrain.c
 create mode 100644 drivers/media/platform/verisilicon/rockchip_av1_filmgrain.h
 create mode 100644 drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
 create mode 100644 drivers/media/platform/verisilicon/rockchip_vpu981_regs.h

Comments

Jenkins May 30, 2023, 12:05 p.m. UTC | #1
From: builder@linuxtv.org

Pull request: https://patchwork.linuxtv.org/project/linux-media/patch/52a82b66-a068-80eb-9e40-d4c61cb0272d@xs4all.nl/
Build log: https://builder.linuxtv.org/job/patchwork/310698/
Build time: 00:17:15
Link: https://lore.kernel.org/linux-media/52a82b66-a068-80eb-9e40-d4c61cb0272d@xs4all.nl

gpg: Signature made Tue 30 May 2023 10:34:50 AM UTC
gpg:                using EDDSA key 52ADCAAE8A4F70B99ACD8D726B425DF79B1C1E76
gpg: Good signature from "Hans Verkuil <hverkuil-cisco@xs4all.nl>" [unknown]
gpg:                 aka "Hans Verkuil <hverkuil@xs4all.nl>" [full]

Summary: got 8/15 patches with issues, being 6 at build time, plus one error when buinding PDF document

Error/warnings:

patches/0001-media-Add-AV1-uAPI.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
	SPARSE:../drivers/staging/media/tegra-video/vip.c ../drivers/staging/media/tegra-video/vip.c:280:24: warning: symbol 'tegra_vip_driver' was not declared. Should it be static?
	../drivers/staging/media/atomisp/i2c/atomisp-ov2680.c:416 ov2680_s_stream() warn: missing error code 'ret'
	../drivers/staging/media/atomisp/i2c/atomisp-gc0310.c:212 gc0310_s_stream() warn: missing error code 'ret'
	../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3013 atomisp_cp_dvs_6axis_config() warn: missing unwind goto?
	../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3112 atomisp_cp_morph_table() warn: missing unwind goto?

    allyesconfig: return code #0:
	../drivers/media/i2c/adp1653.c: ../drivers/media/i2c/adp1653.c:444 adp1653_of_init() warn: missing unwind goto?
	../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c: ../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c:2775 mxc_jpeg_probe() warn: missing unwind goto?
	../drivers/media/i2c/ov5645.c: ../drivers/media/i2c/ov5645.c:687 ov5645_set_power_on() warn: 'ov5645->xclk' from clk_prepare_enable() not released on lines: 687.
	SMATCH:../drivers/media/usb/siano/smsusb.c ../drivers/media/usb/siano/smsusb.c:53:38: :warning: array of flexible structures
	../drivers/media/usb/uvc/uvc_v4l2.c: note: in included file (through ../arch/x86/include/asm/uaccess.h, ../include/linux/uaccess.h, ../include/linux/sched/task.h, ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ...):
	SPARSE:../drivers/media/usb/uvc/uvc_v4l2.c ../arch/x86/include/asm/uaccess_64.h:88:24: warning: cast removes address space '__user' of expression
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: OOM: 3000008Kb sm_state_count = 1965025
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() warn: Function too hairy.  No more merges.
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: __split_smt: function too hairy.  Giving up after 57 seconds
	../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2831 em28xx_v4l2_init() parse error: turning off implications after 60 seconds
	../drivers/media/pci/ivtv/ivtvfb.c: note: in included file (through ../arch/x86/include/asm/uaccess.h, ../include/linux/uaccess.h, ../include/linux/sched/task.h, ../include/linux/sched/signal.h, ../drivers/media/pci/ivtv/ivtv-driver.h):
	SPARSE:../drivers/media/pci/ivtv/ivtvfb.c ../arch/x86/include/asm/uaccess_64.h:88:24: warning: cast removes address space '__user' of expression
	../drivers/media/usb/pvrusb2/pvrusb2-hdw.c: ../drivers/media/usb/pvrusb2/pvrusb2-hdw.c:3293 pvr2_hdw_get_tuner_status() warn: inconsistent indenting

   checkpatch.pl:
	$ cat patches/0001-media-Add-AV1-uAPI.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:1388: WARNING: Avoid logging continuation uses where feasible
	-:1391: WARNING: Avoid logging continuation uses where feasible
	-:1394: WARNING: Avoid logging continuation uses where feasible
	-:1397: WARNING: Avoid logging continuation uses where feasible
	-:1784: ERROR: trailing statements should be on next line

patches/0004-v4l2-common-Add-support-for-fractional-bpp.patch:

    allyesconfig: return code #0:
	SPARSE:../drivers/staging/media/tegra-video/vip.c ../drivers/staging/media/tegra-video/vip.c:280:24: warning: symbol 'tegra_vip_driver' was not declared. Should it be static?
	../drivers/staging/media/atomisp/i2c/atomisp-ov2680.c:416 ov2680_s_stream() warn: missing error code 'ret'
	../drivers/staging/media/atomisp/i2c/atomisp-gc0310.c:212 gc0310_s_stream() warn: missing error code 'ret'
	../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3013 atomisp_cp_dvs_6axis_config() warn: missing unwind goto?
	../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3112 atomisp_cp_morph_table() warn: missing unwind goto?

    allyesconfig: return code #0:
	../drivers/media/i2c/adp1653.c: ../drivers/media/i2c/adp1653.c:444 adp1653_of_init() warn: missing unwind goto?
	../drivers/media/test-drivers/vivid/vivid-core.c: ../drivers/media/test-drivers/vivid/vivid-core.c:1974 vivid_create_instance() parse error: turning off implications after 60 seconds
	../drivers/media/usb/uvc/uvc_v4l2.c: note: in included file (through ../arch/x86/include/asm/uaccess.h, ../include/linux/uaccess.h, ../include/linux/sched/task.h, ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ...):
	SPARSE:../drivers/media/usb/uvc/uvc_v4l2.c ../arch/x86/include/asm/uaccess_64.h:88:24: warning: cast removes address space '__user' of expression
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: turning off implications after 60 seconds
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: OOM: 3000164Kb sm_state_count = 1966090
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: __split_smt: function too hairy.  Giving up after 60 seconds
	../drivers/media/pci/ivtv/ivtvfb.c: note: in included file (through ../arch/x86/include/asm/uaccess.h, ../include/linux/uaccess.h, ../include/linux/sched/task.h, ../include/linux/sched/signal.h, ../drivers/media/pci/ivtv/ivtv-driver.h):
	SPARSE:../drivers/media/pci/ivtv/ivtvfb.c ../arch/x86/include/asm/uaccess_64.h:88:24: warning: cast removes address space '__user' of expression
	../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c: ../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c:2775 mxc_jpeg_probe() warn: missing unwind goto?
	../drivers/media/i2c/ov5645.c: ../drivers/media/i2c/ov5645.c:687 ov5645_set_power_on() warn: 'ov5645->xclk' from clk_prepare_enable() not released on lines: 687.
	../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2831 em28xx_v4l2_init() parse error: turning off implications after 60 seconds
	../drivers/media/usb/pvrusb2/pvrusb2-hdw.c: ../drivers/media/usb/pvrusb2/pvrusb2-hdw.c:3293 pvr2_hdw_get_tuner_status() warn: inconsistent indenting

   checkpatch.pl:
	$ cat patches/0004-v4l2-common-Add-support-for-fractional-bpp.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:47: WARNING: line length of 191 exceeds 100 columns
	-:48: WARNING: line length of 191 exceeds 100 columns
	-:49: WARNING: line length of 191 exceeds 100 columns
	-:50: WARNING: line length of 191 exceeds 100 columns
	-:51: WARNING: line length of 191 exceeds 100 columns
	-:52: WARNING: line length of 191 exceeds 100 columns
	-:53: WARNING: line length of 191 exceeds 100 columns
	-:54: WARNING: line length of 191 exceeds 100 columns
	-:55: WARNING: line length of 191 exceeds 100 columns
	-:56: WARNING: line length of 191 exceeds 100 columns
	-:57: WARNING: line length of 191 exceeds 100 columns
	-:58: WARNING: line length of 191 exceeds 100 columns
	-:59: WARNING: line length of 191 exceeds 100 columns
	-:60: WARNING: line length of 191 exceeds 100 columns
	-:61: WARNING: line length of 191 exceeds 100 columns
	-:62: WARNING: line length of 191 exceeds 100 columns
	-:63: WARNING: line length of 191 exceeds 100 columns
	-:64: WARNING: line length of 192 exceeds 100 columns
	-:65: WARNING: line length of 193 exceeds 100 columns
	-:74: WARNING: line length of 191 exceeds 100 columns
	-:75: WARNING: line length of 191 exceeds 100 columns
	-:76: WARNING: line length of 191 exceeds 100 columns
	-:77: WARNING: line length of 191 exceeds 100 columns
	-:78: WARNING: line length of 191 exceeds 100 columns
	-:79: WARNING: line length of 192 exceeds 100 columns
	-:98: WARNING: line length of 191 exceeds 100 columns
	-:99: WARNING: line length of 191 exceeds 100 columns
	-:100: WARNING: line length of 191 exceeds 100 columns
	-:101: WARNING: line length of 191 exceeds 100 columns
	-:102: WARNING: line length of 191 exceeds 100 columns
	-:103: WARNING: line length of 191 exceeds 100 columns
	-:104: WARNING: line length of 191 exceeds 100 columns
	-:105: WARNING: line length of 191 exceeds 100 columns
	-:107: WARNING: line length of 191 exceeds 100 columns
	-:108: WARNING: line length of 191 exceeds 100 columns
	-:109: WARNING: line length of 191 exceeds 100 columns
	-:110: WARNING: line length of 191 exceeds 100 columns
	-:111: WARNING: line length of 191 exceeds 100 columns
	-:112: WARNING: line length of 191 exceeds 100 columns
	-:113: WARNING: line length of 191 exceeds 100 columns
	-:118: WARNING: line length of 192 exceeds 100 columns
	-:119: WARNING: line length of 192 exceeds 100 columns
	-:134: WARNING: line length of 191 exceeds 100 columns
	-:135: WARNING: line length of 191 exceeds 100 columns
	-:136: WARNING: line length of 191 exceeds 100 columns
	-:137: WARNING: line length of 191 exceeds 100 columns
	-:138: WARNING: line length of 191 exceeds 100 columns
	-:139: WARNING: line length of 191 exceeds 100 columns
	-:141: WARNING: line length of 191 exceeds 100 columns
	-:142: WARNING: line length of 191 exceeds 100 columns
	-:143: WARNING: line length of 191 exceeds 100 columns
	-:144: WARNING: line length of 191 exceeds 100 columns
	-:145: WARNING: line length of 191 exceeds 100 columns
	-:168: WARNING: line length of 199 exceeds 100 columns
	-:169: WARNING: line length of 199 exceeds 100 columns
	-:170: WARNING: line length of 199 exceeds 100 columns
	-:171: WARNING: line length of 199 exceeds 100 columns
	-:172: WARNING: line length of 199 exceeds 100 columns
	-:173: WARNING: line length of 199 exceeds 100 columns
	-:174: WARNING: line length of 199 exceeds 100 columns
	-:175: WARNING: line length of 199 exceeds 100 columns
	-:176: WARNING: line length of 199 exceeds 100 columns
	-:177: WARNING: line length of 199 exceeds 100 columns
	-:178: WARNING: line length of 199 exceeds 100 columns
	-:179: WARNING: line length of 199 exceeds 100 columns
	-:180: WARNING: line length of 199 exceeds 100 columns
	-:181: WARNING: line length of 199 exceeds 100 columns
	-:182: WARNING: line length of 199 exceeds 100 columns
	-:183: WARNING: line length of 199 exceeds 100 columns
	-:184: WARNING: line length of 199 exceeds 100 columns
	-:185: WARNING: line length of 199 exceeds 100 columns
	-:186: WARNING: line length of 199 exceeds 100 columns
	-:187: WARNING: line length of 199 exceeds 100 columns
	-:196: WARNING: line length of 119 exceeds 100 columns
	-:223: WARNING: line length of 112 exceeds 100 columns

patches/0005-media-Add-NV15_4L4-pixel-format.patch:

    allyesconfig: return code #0:
	SPARSE:../drivers/staging/media/tegra-video/vip.c ../drivers/staging/media/tegra-video/vip.c:280:24: warning: symbol 'tegra_vip_driver' was not declared. Should it be static?
	../drivers/staging/media/atomisp/i2c/atomisp-ov2680.c:416 ov2680_s_stream() warn: missing error code 'ret'
	../drivers/staging/media/atomisp/i2c/atomisp-gc0310.c:212 gc0310_s_stream() warn: missing error code 'ret'
	../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3013 atomisp_cp_dvs_6axis_config() warn: missing unwind goto?
	../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3112 atomisp_cp_morph_table() warn: missing unwind goto?

    allyesconfig: return code #0:
	../drivers/media/i2c/adp1653.c: ../drivers/media/i2c/adp1653.c:444 adp1653_of_init() warn: missing unwind goto?
	../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c: ../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c:2775 mxc_jpeg_probe() warn: missing unwind goto?
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: OOM: 3000024Kb sm_state_count = 1963128
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() warn: Function too hairy.  No more merges.
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: __split_smt: function too hairy.  Giving up after 54 seconds
	../drivers/media/pci/ivtv/ivtvfb.c: note: in included file (through ../arch/x86/include/asm/uaccess.h, ../include/linux/uaccess.h, ../include/linux/sched/task.h, ../include/linux/sched/signal.h, ../drivers/media/pci/ivtv/ivtv-driver.h):
	SPARSE:../drivers/media/pci/ivtv/ivtvfb.c ../arch/x86/include/asm/uaccess_64.h:88:24: warning: cast removes address space '__user' of expression
	../drivers/media/i2c/ov5645.c: ../drivers/media/i2c/ov5645.c:687 ov5645_set_power_on() warn: 'ov5645->xclk' from clk_prepare_enable() not released on lines: 687.
	../drivers/media/usb/uvc/uvc_v4l2.c: note: in included file (through ../arch/x86/include/asm/uaccess.h, ../include/linux/uaccess.h, ../include/linux/sched/task.h, ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ...):
	SPARSE:../drivers/media/usb/uvc/uvc_v4l2.c ../arch/x86/include/asm/uaccess_64.h:88:24: warning: cast removes address space '__user' of expression
	../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2846 em28xx_v4l2_init() parse error: turning off implications after 60 seconds
	../drivers/media/usb/pvrusb2/pvrusb2-hdw.c: ../drivers/media/usb/pvrusb2/pvrusb2-hdw.c:3293 pvr2_hdw_get_tuner_status() warn: inconsistent indenting

   checkpatch.pl:
	$ cat patches/0005-media-Add-NV15_4L4-pixel-format.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:60: WARNING: line length of 191 exceeds 100 columns
	-:73: ERROR: trailing statements should be on next line

patches/0010-media-verisilicon-Add-AV1-entropy-helpers.patch:

   checkpatch.pl:
	$ cat patches/0010-media-verisilicon-Add-AV1-entropy-helpers.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:96: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
	-:118: ERROR: Macros with complex values should be enclosed in parentheses
	-:120: ERROR: Macros with complex values should be enclosed in parentheses
	-:122: ERROR: Macros with complex values should be enclosed in parentheses
	-:124: ERROR: Macros with complex values should be enclosed in parentheses
	-:126: ERROR: Macros with complex values should be enclosed in parentheses
	-:129: ERROR: Macros with complex values should be enclosed in parentheses
	-:132: ERROR: Macros with complex values should be enclosed in parentheses
	-:135: ERROR: Macros with complex values should be enclosed in parentheses
	-:138: ERROR: Macros with complex values should be enclosed in parentheses
	-:141: ERROR: Macros with complex values should be enclosed in parentheses
	-:144: ERROR: Macros with complex values should be enclosed in parentheses
	-:147: ERROR: Macros with complex values should be enclosed in parentheses
	-:151: ERROR: Macros with complex values should be enclosed in parentheses
	-:155: ERROR: Macros with complex values should be enclosed in parentheses

patches/0011-media-verisilicon-Add-Rockchip-AV1-decoder.patch:

    allyesconfig: return code #0:
	SPARSE:../drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c ../drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c:2019:34: warning: symbol 'rockchip_vpu981_postproc_ops' was not declared. Should it be static?

   checkpatch.pl:
	$ cat patches/0011-media-verisilicon-Add-Rockchip-AV1-decoder.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:143: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
	-:670: WARNING: line length of 117 exceeds 100 columns
	-:694: ERROR: trailing statements should be on next line
	-:983: WARNING: line length of 101 exceeds 100 columns

patches/0012-media-verisilicon-Add-film-grain-feature-to-AV1-driv.patch:

    allyesconfig: return code #0:
	SPARSE:../drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c ../drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c:2229:34: warning: symbol 'rockchip_vpu981_postproc_ops' was not declared. Should it be static?

   checkpatch.pl:
	$ cat patches/0012-media-verisilicon-Add-film-grain-feature-to-AV1-driv.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:64: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
	-:494: WARNING: function definition argument 's32' should also have an identifier name
	-:494: WARNING: function definition argument 's32' should also have an identifier name
	-:494: WARNING: function definition argument 's32' should also have an identifier name
	-:494: WARNING: function definition argument 's32' should also have an identifier name
	-:494: WARNING: function definition argument 's32' should also have an identifier name
	-:534: WARNING: line length of 105 exceeds 100 columns

patches/0014-media-verisilicon-Conditionally-ignore-native-format.patch:

   checkpatch.pl:
	$ cat patches/0014-media-verisilicon-Conditionally-ignore-native-format.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:161: CHECK: Unnecessary parentheses around 'formats[i].codec_mode !=
	-:192: WARNING: line length of 105 exceeds 100 columns

patches/0015-media-mediatek-vcodec-support-stateless-AV1-decoder.patch:

    allyesconfig: return code #512:
	../drivers/media/platform/mediatek/vcodec/vdec_msg_queue.c: ../drivers/media/platform/mediatek/vcodec/vdec_msg_queue.c:347 vdec_msg_queue_init() warn: missing unwind goto?
	../drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c: In function ‘vdec_av1_slice_lat_decode’:
	../drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c:2075:32: error: ‘struct mtk_vcodec_dev’ has no member named ‘msg_queue_core_ctx’
	../drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c:2114:32: error: ‘struct mtk_vcodec_dev’ has no member named ‘msg_queue_core_ctx’
	make[7]: *** [../scripts/Makefile.build:252: drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.o] Error 1
	make[7]: *** Waiting for unfinished jobs....
	make[6]: *** [../scripts/Makefile.build:494: drivers/media/platform/mediatek/vcodec] Error 2
	make[5]: *** [../scripts/Makefile.build:494: drivers/media/platform/mediatek] Error 2
	make[4]: *** [../scripts/Makefile.build:494: drivers/media/platform] Error 2
	make[3]: *** [../scripts/Makefile.build:494: drivers/media] Error 2
	make[2]: *** [../scripts/Makefile.build:494: drivers] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:2026: .] Error 2
	make: *** [Makefile:226: __sub-make] Error 2

    allmodconfig: return code #512:
	../drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c: In function ‘vdec_av1_slice_lat_decode’:
	../drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c:2075:32: error: ‘struct mtk_vcodec_dev’ has no member named ‘msg_queue_core_ctx’
	../drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c:2114:32: error: ‘struct mtk_vcodec_dev’ has no member named ‘msg_queue_core_ctx’
	make[7]: *** [../scripts/Makefile.build:252: drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.o] Error 1
	make[7]: *** Waiting for unfinished jobs....
	make[6]: *** [../scripts/Makefile.build:494: drivers/media/platform/mediatek/vcodec] Error 2
	make[5]: *** [../scripts/Makefile.build:494: drivers/media/platform/mediatek] Error 2
	make[4]: *** [../scripts/Makefile.build:494: drivers/media/platform] Error 2
	make[3]: *** [../scripts/Makefile.build:494: drivers/media] Error 2
	make[2]: *** [../scripts/Makefile.build:494: drivers] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:2026: .] Error 2
	make: *** [Makefile:226: __sub-make] Error 2

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


Error #512 when building PDF docs
Jenkins June 9, 2023, 8:15 a.m. UTC | #2
From: builder@linuxtv.org

Pull request: https://patchwork.linuxtv.org/project/linux-media/patch/52a82b66-a068-80eb-9e40-d4c61cb0272d@xs4all.nl/
Build log: https://builder.linuxtv.org/job/patchwork/313143/
Build time: 00:00:00
Link: https://lore.kernel.org/linux-media/52a82b66-a068-80eb-9e40-d4c61cb0272d@xs4all.nl

gpg: Signature made Tue 30 May 2023 10:34:50 AM UTC
gpg:                using EDDSA key 52ADCAAE8A4F70B99ACD8D726B425DF79B1C1E76
gpg: Good signature from "Hans Verkuil <hverkuil-cisco@xs4all.nl>" [unknown]
gpg:                 aka "Hans Verkuil <hverkuil@xs4all.nl>" [full]


Build aborted due to a fatal error:
FAILED: patch patch patches/0001-media-Add-AV1-uAPI.patch doesn't apply:
Applying patch patches/0001-media-Add-AV1-uAPI.patch
patching file Documentation/userspace-api/media/v4l/biblio.rst
Hunk #1 FAILED at 427.
1 out of 1 hunk FAILED -- rejects in file Documentation/userspace-api/media/v4l/biblio.rst
patching file Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst
Hunk #1 FAILED at 1890.
Hunk #2 FAILED at 2957.
2 out of 2 hunks FAILED -- rejects in file Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst
patching file Documentation/userspace-api/media/v4l/pixfmt-compressed.rst
Hunk #1 succeeded at 274 with fuzz 2 (offset 16 lines).
patching file Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst
Hunk #1 FAILED at 279.
1 out of 1 hunk FAILED -- rejects in file Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst
patching file Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst
Hunk #1 FAILED at 525.
1 out of 1 hunk FAILED -- rejects in file Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst
patching file Documentation/userspace-api/media/videodev2.h.rst.exceptions
Hunk #1 FAILED at 161.
1 out of 1 hunk FAILED -- rejects in file Documentation/userspace-api/media/videodev2.h.rst.exceptions
patching file drivers/media/v4l2-core/v4l2-ctrls-core.c
Hunk #1 succeeded at 244 with fuzz 2 (offset -106 lines).
Hunk #2 succeeded at 803 (offset 243 lines).
Hunk #3 FAILED at 1149.
Hunk #4 succeeded at 2103 with fuzz 2 (offset 263 lines).
1 out of 4 hunks FAILED -- rejects in file drivers/media/v4l2-core/v4l2-ctrls-core.c
patching file drivers/media/v4l2-core/v4l2-ctrls-defs.c
Hunk #1 succeeded at 533 (offset 34 lines).
Hunk #2 FAILED at 738.
Hunk #3 succeeded at 1080 with fuzz 2 (offset 42 lines).
Hunk #4 FAILED at 1228.
Hunk #5 FAILED at 1403.
Hunk #6 succeeded at 1630 with fuzz 2 (offset 61 lines).
3 out of 6 hunks FAILED -- rejects in file drivers/media/v4l2-core/v4l2-ctrls-defs.c
patching file drivers/media/v4l2-core/v4l2-ioctl.c
Hunk #1 FAILED at 1506.
1 out of 1 hunk FAILED -- rejects in file drivers/media/v4l2-core/v4l2-ioctl.c
patching file include/media/v4l2-ctrls.h
Hunk #1 FAILED at 52.
Hunk #2 FAILED at 81.
2 out of 2 hunks FAILED -- rejects in file include/media/v4l2-ctrls.h
patching file include/uapi/linux/v4l2-controls.h
Hunk #1 succeeded at 886 with fuzz 2 (offset 82 lines).
Hunk #2 succeeded at 3561 with fuzz 1 (offset 721 lines).
patching file include/uapi/linux/videodev2.h
Hunk #1 FAILED at 758.
Hunk #2 FAILED at 1828.
Hunk #3 FAILED at 1901.
3 out of 3 hunks FAILED -- rejects in file include/uapi/linux/videodev2.h
Patch patches/0001-media-Add-AV1-uAPI.patch can be reverse-applied
Jenkins June 9, 2023, 10:33 a.m. UTC | #3
From: builder@linuxtv.org

Pull request: https://patchwork.linuxtv.org/project/linux-media/patch/52a82b66-a068-80eb-9e40-d4c61cb0272d@xs4all.nl/
Build log: https://builder.linuxtv.org/job/patchwork/313144/
Build time: 00:06:49
Link: https://lore.kernel.org/linux-media/52a82b66-a068-80eb-9e40-d4c61cb0272d@xs4all.nl

error: tag 'FETCH_HEAD' not found.

Summary: got 8/15 patches with issues, being 6 at build time, plus one error when buinding PDF document

Error/warnings:

patches/0001-media-Add-AV1-uAPI.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
	SPARSE:../drivers/staging/media/tegra-video/vip.c ../drivers/staging/media/tegra-video/vip.c:280:24: warning: symbol 'tegra_vip_driver' was not declared. Should it be static?
	../drivers/staging/media/atomisp/i2c/atomisp-ov2680.c:416 ov2680_s_stream() warn: missing error code 'ret'
	../drivers/staging/media/atomisp/i2c/atomisp-gc0310.c:212 gc0310_s_stream() warn: missing error code 'ret'
	../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3013 atomisp_cp_dvs_6axis_config() warn: missing unwind goto?
	../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3112 atomisp_cp_morph_table() warn: missing unwind goto?

    allyesconfig: return code #0:
	../drivers/media/i2c/adp1653.c: ../drivers/media/i2c/adp1653.c:444 adp1653_of_init() warn: missing unwind goto?
	../drivers/media/i2c/ov5645.c: ../drivers/media/i2c/ov5645.c:687 ov5645_set_power_on() warn: 'ov5645->xclk' from clk_prepare_enable() not released on lines: 687.
	SMATCH:../drivers/media/usb/siano/smsusb.c ../drivers/media/usb/siano/smsusb.c:53:38: :warning: array of flexible structures
	../drivers/media/usb/uvc/uvc_v4l2.c: note: in included file (through ../arch/x86/include/asm/uaccess.h, ../include/linux/uaccess.h, ../include/linux/sched/task.h, ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ...):
	SPARSE:../drivers/media/usb/uvc/uvc_v4l2.c ../arch/x86/include/asm/uaccess_64.h:88:24: warning: cast removes address space '__user' of expression
	../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c: ../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c:2775 mxc_jpeg_probe() warn: missing unwind goto?
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: OOM: 3000012Kb sm_state_count = 1963517
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() warn: Function too hairy.  No more merges.
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: __split_smt: function too hairy.  Giving up after 56 seconds
	../drivers/media/usb/pvrusb2/pvrusb2-hdw.c: ../drivers/media/usb/pvrusb2/pvrusb2-hdw.c:3293 pvr2_hdw_get_tuner_status() warn: inconsistent indenting
	../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2858 em28xx_v4l2_init() parse error: turning off implications after 60 seconds
	../drivers/media/pci/ivtv/ivtvfb.c: note: in included file (through ../arch/x86/include/asm/uaccess.h, ../include/linux/uaccess.h, ../include/linux/sched/task.h, ../include/linux/sched/signal.h, ../drivers/media/pci/ivtv/ivtv-driver.h):
	SPARSE:../drivers/media/pci/ivtv/ivtvfb.c ../arch/x86/include/asm/uaccess_64.h:88:24: warning: cast removes address space '__user' of expression

   checkpatch.pl:
	$ cat patches/0001-media-Add-AV1-uAPI.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:1388: WARNING: Avoid logging continuation uses where feasible
	-:1391: WARNING: Avoid logging continuation uses where feasible
	-:1394: WARNING: Avoid logging continuation uses where feasible
	-:1397: WARNING: Avoid logging continuation uses where feasible
	-:1784: ERROR: trailing statements should be on next line

patches/0004-v4l2-common-Add-support-for-fractional-bpp.patch:

    allyesconfig: return code #0:
	SPARSE:../drivers/staging/media/tegra-video/vip.c ../drivers/staging/media/tegra-video/vip.c:280:24: warning: symbol 'tegra_vip_driver' was not declared. Should it be static?
	../drivers/staging/media/atomisp/i2c/atomisp-gc0310.c:212 gc0310_s_stream() warn: missing error code 'ret'
	../drivers/staging/media/atomisp/i2c/atomisp-ov2680.c:416 ov2680_s_stream() warn: missing error code 'ret'
	../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3013 atomisp_cp_dvs_6axis_config() warn: missing unwind goto?
	../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3112 atomisp_cp_morph_table() warn: missing unwind goto?

    allyesconfig: return code #0:
	../drivers/media/i2c/adp1653.c: ../drivers/media/i2c/adp1653.c:444 adp1653_of_init() warn: missing unwind goto?
	../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c: ../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c:2775 mxc_jpeg_probe() warn: missing unwind goto?
	../drivers/media/i2c/ov5645.c: ../drivers/media/i2c/ov5645.c:687 ov5645_set_power_on() warn: 'ov5645->xclk' from clk_prepare_enable() not released on lines: 687.
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: OOM: 3000028Kb sm_state_count = 1963363
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() warn: Function too hairy.  No more merges.
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: __split_smt: function too hairy.  Giving up after 53 seconds
	../drivers/media/usb/uvc/uvc_v4l2.c: note: in included file (through ../arch/x86/include/asm/uaccess.h, ../include/linux/uaccess.h, ../include/linux/sched/task.h, ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ...):
	SPARSE:../drivers/media/usb/uvc/uvc_v4l2.c ../arch/x86/include/asm/uaccess_64.h:88:24: warning: cast removes address space '__user' of expression
	../drivers/media/pci/ivtv/ivtvfb.c: note: in included file (through ../arch/x86/include/asm/uaccess.h, ../include/linux/uaccess.h, ../include/linux/sched/task.h, ../include/linux/sched/signal.h, ../drivers/media/pci/ivtv/ivtv-driver.h):
	SPARSE:../drivers/media/pci/ivtv/ivtvfb.c ../arch/x86/include/asm/uaccess_64.h:88:24: warning: cast removes address space '__user' of expression
	../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2864 em28xx_v4l2_init() parse error: turning off implications after 60 seconds
	../drivers/media/usb/pvrusb2/pvrusb2-hdw.c: ../drivers/media/usb/pvrusb2/pvrusb2-hdw.c:3293 pvr2_hdw_get_tuner_status() warn: inconsistent indenting

   checkpatch.pl:
	$ cat patches/0004-v4l2-common-Add-support-for-fractional-bpp.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:47: WARNING: line length of 191 exceeds 100 columns
	-:48: WARNING: line length of 191 exceeds 100 columns
	-:49: WARNING: line length of 191 exceeds 100 columns
	-:50: WARNING: line length of 191 exceeds 100 columns
	-:51: WARNING: line length of 191 exceeds 100 columns
	-:52: WARNING: line length of 191 exceeds 100 columns
	-:53: WARNING: line length of 191 exceeds 100 columns
	-:54: WARNING: line length of 191 exceeds 100 columns
	-:55: WARNING: line length of 191 exceeds 100 columns
	-:56: WARNING: line length of 191 exceeds 100 columns
	-:57: WARNING: line length of 191 exceeds 100 columns
	-:58: WARNING: line length of 191 exceeds 100 columns
	-:59: WARNING: line length of 191 exceeds 100 columns
	-:60: WARNING: line length of 191 exceeds 100 columns
	-:61: WARNING: line length of 191 exceeds 100 columns
	-:62: WARNING: line length of 191 exceeds 100 columns
	-:63: WARNING: line length of 191 exceeds 100 columns
	-:64: WARNING: line length of 192 exceeds 100 columns
	-:65: WARNING: line length of 193 exceeds 100 columns
	-:74: WARNING: line length of 191 exceeds 100 columns
	-:75: WARNING: line length of 191 exceeds 100 columns
	-:76: WARNING: line length of 191 exceeds 100 columns
	-:77: WARNING: line length of 191 exceeds 100 columns
	-:78: WARNING: line length of 191 exceeds 100 columns
	-:79: WARNING: line length of 192 exceeds 100 columns
	-:98: WARNING: line length of 191 exceeds 100 columns
	-:99: WARNING: line length of 191 exceeds 100 columns
	-:100: WARNING: line length of 191 exceeds 100 columns
	-:101: WARNING: line length of 191 exceeds 100 columns
	-:102: WARNING: line length of 191 exceeds 100 columns
	-:103: WARNING: line length of 191 exceeds 100 columns
	-:104: WARNING: line length of 191 exceeds 100 columns
	-:105: WARNING: line length of 191 exceeds 100 columns
	-:107: WARNING: line length of 191 exceeds 100 columns
	-:108: WARNING: line length of 191 exceeds 100 columns
	-:109: WARNING: line length of 191 exceeds 100 columns
	-:110: WARNING: line length of 191 exceeds 100 columns
	-:111: WARNING: line length of 191 exceeds 100 columns
	-:112: WARNING: line length of 191 exceeds 100 columns
	-:113: WARNING: line length of 191 exceeds 100 columns
	-:118: WARNING: line length of 192 exceeds 100 columns
	-:119: WARNING: line length of 192 exceeds 100 columns
	-:134: WARNING: line length of 191 exceeds 100 columns
	-:135: WARNING: line length of 191 exceeds 100 columns
	-:136: WARNING: line length of 191 exceeds 100 columns
	-:137: WARNING: line length of 191 exceeds 100 columns
	-:138: WARNING: line length of 191 exceeds 100 columns
	-:139: WARNING: line length of 191 exceeds 100 columns
	-:141: WARNING: line length of 191 exceeds 100 columns
	-:142: WARNING: line length of 191 exceeds 100 columns
	-:143: WARNING: line length of 191 exceeds 100 columns
	-:144: WARNING: line length of 191 exceeds 100 columns
	-:145: WARNING: line length of 191 exceeds 100 columns
	-:168: WARNING: line length of 199 exceeds 100 columns
	-:169: WARNING: line length of 199 exceeds 100 columns
	-:170: WARNING: line length of 199 exceeds 100 columns
	-:171: WARNING: line length of 199 exceeds 100 columns
	-:172: WARNING: line length of 199 exceeds 100 columns
	-:173: WARNING: line length of 199 exceeds 100 columns
	-:174: WARNING: line length of 199 exceeds 100 columns
	-:175: WARNING: line length of 199 exceeds 100 columns
	-:176: WARNING: line length of 199 exceeds 100 columns
	-:177: WARNING: line length of 199 exceeds 100 columns
	-:178: WARNING: line length of 199 exceeds 100 columns
	-:179: WARNING: line length of 199 exceeds 100 columns
	-:180: WARNING: line length of 199 exceeds 100 columns
	-:181: WARNING: line length of 199 exceeds 100 columns
	-:182: WARNING: line length of 199 exceeds 100 columns
	-:183: WARNING: line length of 199 exceeds 100 columns
	-:184: WARNING: line length of 199 exceeds 100 columns
	-:185: WARNING: line length of 199 exceeds 100 columns
	-:186: WARNING: line length of 199 exceeds 100 columns
	-:187: WARNING: line length of 199 exceeds 100 columns
	-:196: WARNING: line length of 119 exceeds 100 columns
	-:223: WARNING: line length of 112 exceeds 100 columns

patches/0005-media-Add-NV15_4L4-pixel-format.patch:

    allyesconfig: return code #0:
	../drivers/staging/media/atomisp/i2c/atomisp-ov2680.c:416 ov2680_s_stream() warn: missing error code 'ret'
	../drivers/staging/media/atomisp/i2c/atomisp-gc0310.c:212 gc0310_s_stream() warn: missing error code 'ret'
	SPARSE:../drivers/staging/media/tegra-video/vip.c ../drivers/staging/media/tegra-video/vip.c:280:24: warning: symbol 'tegra_vip_driver' was not declared. Should it be static?
	../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3013 atomisp_cp_dvs_6axis_config() warn: missing unwind goto?
	../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3112 atomisp_cp_morph_table() warn: missing unwind goto?

    allyesconfig: return code #0:
	../drivers/media/i2c/adp1653.c: ../drivers/media/i2c/adp1653.c:444 adp1653_of_init() warn: missing unwind goto?
	../drivers/media/usb/uvc/uvc_v4l2.c: note: in included file (through ../arch/x86/include/asm/uaccess.h, ../include/linux/uaccess.h, ../include/linux/sched/task.h, ../include/linux/sched/signal.h, ../include/linux/rcuwait.h, ...):
	SPARSE:../drivers/media/usb/uvc/uvc_v4l2.c ../arch/x86/include/asm/uaccess_64.h:88:24: warning: cast removes address space '__user' of expression
	../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c: ../drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c:2775 mxc_jpeg_probe() warn: missing unwind goto?
	../drivers/media/i2c/ov5645.c: ../drivers/media/i2c/ov5645.c:687 ov5645_set_power_on() warn: 'ov5645->xclk' from clk_prepare_enable() not released on lines: 687.
	../drivers/media/usb/pvrusb2/pvrusb2-hdw.c: ../drivers/media/usb/pvrusb2/pvrusb2-hdw.c:3293 pvr2_hdw_get_tuner_status() warn: inconsistent indenting
	../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2864 em28xx_v4l2_init() parse error: turning off implications after 60 seconds
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: OOM: 3000012Kb sm_state_count = 1967757
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() warn: Function too hairy.  No more merges.
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2570 dvb_register() parse error: __split_smt: function too hairy.  Giving up after 60 seconds
	../drivers/media/pci/ivtv/ivtvfb.c: note: in included file (through ../arch/x86/include/asm/uaccess.h, ../include/linux/uaccess.h, ../include/linux/sched/task.h, ../include/linux/sched/signal.h, ../drivers/media/pci/ivtv/ivtv-driver.h):
	SPARSE:../drivers/media/pci/ivtv/ivtvfb.c ../arch/x86/include/asm/uaccess_64.h:88:24: warning: cast removes address space '__user' of expression

   checkpatch.pl:
	$ cat patches/0005-media-Add-NV15_4L4-pixel-format.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:60: WARNING: line length of 191 exceeds 100 columns
	-:73: ERROR: trailing statements should be on next line

patches/0010-media-verisilicon-Add-AV1-entropy-helpers.patch:

   checkpatch.pl:
	$ cat patches/0010-media-verisilicon-Add-AV1-entropy-helpers.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:96: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
	-:118: ERROR: Macros with complex values should be enclosed in parentheses
	-:120: ERROR: Macros with complex values should be enclosed in parentheses
	-:122: ERROR: Macros with complex values should be enclosed in parentheses
	-:124: ERROR: Macros with complex values should be enclosed in parentheses
	-:126: ERROR: Macros with complex values should be enclosed in parentheses
	-:129: ERROR: Macros with complex values should be enclosed in parentheses
	-:132: ERROR: Macros with complex values should be enclosed in parentheses
	-:135: ERROR: Macros with complex values should be enclosed in parentheses
	-:138: ERROR: Macros with complex values should be enclosed in parentheses
	-:141: ERROR: Macros with complex values should be enclosed in parentheses
	-:144: ERROR: Macros with complex values should be enclosed in parentheses
	-:147: ERROR: Macros with complex values should be enclosed in parentheses
	-:151: ERROR: Macros with complex values should be enclosed in parentheses
	-:155: ERROR: Macros with complex values should be enclosed in parentheses

patches/0011-media-verisilicon-Add-Rockchip-AV1-decoder.patch:

    allyesconfig: return code #0:
	SPARSE:../drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c ../drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c:2019:34: warning: symbol 'rockchip_vpu981_postproc_ops' was not declared. Should it be static?

   checkpatch.pl:
	$ cat patches/0011-media-verisilicon-Add-Rockchip-AV1-decoder.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:143: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
	-:670: WARNING: line length of 117 exceeds 100 columns
	-:694: ERROR: trailing statements should be on next line
	-:983: WARNING: line length of 101 exceeds 100 columns

patches/0012-media-verisilicon-Add-film-grain-feature-to-AV1-driv.patch:

    allyesconfig: return code #0:
	SPARSE:../drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c ../drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c:2229:34: warning: symbol 'rockchip_vpu981_postproc_ops' was not declared. Should it be static?

   checkpatch.pl:
	$ cat patches/0012-media-verisilicon-Add-film-grain-feature-to-AV1-driv.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:64: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
	-:494: WARNING: function definition argument 's32' should also have an identifier name
	-:494: WARNING: function definition argument 's32' should also have an identifier name
	-:494: WARNING: function definition argument 's32' should also have an identifier name
	-:494: WARNING: function definition argument 's32' should also have an identifier name
	-:494: WARNING: function definition argument 's32' should also have an identifier name
	-:534: WARNING: line length of 105 exceeds 100 columns

patches/0014-media-verisilicon-Conditionally-ignore-native-format.patch:

   checkpatch.pl:
	$ cat patches/0014-media-verisilicon-Conditionally-ignore-native-format.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:161: CHECK: Unnecessary parentheses around 'formats[i].codec_mode !=
	-:192: WARNING: line length of 105 exceeds 100 columns

patches/0015-media-mediatek-vcodec-support-stateless-AV1-decoder.patch:

    allyesconfig: return code #512:
	../drivers/media/platform/mediatek/vcodec/vdec_msg_queue.c: ../drivers/media/platform/mediatek/vcodec/vdec_msg_queue.c:347 vdec_msg_queue_init() warn: missing unwind goto?
	../drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c: In function ‘vdec_av1_slice_lat_decode’:
	../drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c:2075:32: error: ‘struct mtk_vcodec_dev’ has no member named ‘msg_queue_core_ctx’
	../drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c:2114:32: error: ‘struct mtk_vcodec_dev’ has no member named ‘msg_queue_core_ctx’
	make[7]: *** [../scripts/Makefile.build:252: drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.o] Error 1
	make[7]: *** Waiting for unfinished jobs....
	make[6]: *** [../scripts/Makefile.build:494: drivers/media/platform/mediatek/vcodec] Error 2
	make[5]: *** [../scripts/Makefile.build:494: drivers/media/platform/mediatek] Error 2
	make[4]: *** [../scripts/Makefile.build:494: drivers/media/platform] Error 2
	make[3]: *** [../scripts/Makefile.build:494: drivers/media] Error 2
	make[2]: *** [../scripts/Makefile.build:494: drivers] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:2026: .] Error 2
	make: *** [Makefile:226: __sub-make] Error 2

    allmodconfig: return code #512:
	../drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c: In function ‘vdec_av1_slice_lat_decode’:
	../drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c:2075:32: error: ‘struct mtk_vcodec_dev’ has no member named ‘msg_queue_core_ctx’
	../drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.c:2114:32: error: ‘struct mtk_vcodec_dev’ has no member named ‘msg_queue_core_ctx’
	make[7]: *** [../scripts/Makefile.build:252: drivers/media/platform/mediatek/vcodec/vdec/vdec_av1_req_lat_if.o] Error 1
	make[6]: *** [../scripts/Makefile.build:494: drivers/media/platform/mediatek/vcodec] Error 2
	make[5]: *** [../scripts/Makefile.build:494: drivers/media/platform/mediatek] Error 2
	make[4]: *** [../scripts/Makefile.build:494: drivers/media/platform] Error 2
	make[3]: *** [../scripts/Makefile.build:494: drivers/media] Error 2
	make[2]: *** [../scripts/Makefile.build:494: drivers] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:2026: .] Error 2
	make: *** [Makefile:226: __sub-make] Error 2

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


Error #512 when building PDF docs