mbox series

[GIT,PULL,FOR,v5.20] hantro/cedrus/vb2 updates

Message ID 55858df1-6d8a-befe-5301-809665b9f2e3@xs4all.nl (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL,FOR,v5.20] hantro/cedrus/vb2 updates | expand

Pull-request

git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.20j

Message

Hans Verkuil July 12, 2022, 11:52 a.m. UTC
This PR sits on top of the stateless HEVC uAPI series:

https://patchwork.linuxtv.org/project/linux-media/patch/8409c576-e2f3-489a-23df-dc16386aac13@xs4all.nl/

This series adds hantro 10 bit encoding, various cedrus fixes (patches 1-4
of this series: https://patchwork.linuxtv.org/project/linux-media/list/?series=8237),
and the series replacing vb2_find_timestamp with vb2_find_buffer.

Note that patch 5 of the cedrus series needs more work, which is why I skipped
patches 5-7 for now.

Regards,

	Hans

The following changes since commit 444d22d2cd9386472e1ca823487f3be544f87576:

  media: uapi: move HEVC stateless controls out of staging (2022-07-08 20:09:00 +0200)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.20j

for you to fetch changes up to 8faa98fb0e80223d43c96693fd8e011ebb47545b:

  videobuf2: Remove vb2_find_timestamp() (2022-07-12 13:42:24 +0200)

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

----------------------------------------------------------------
Ezequiel Garcia (9):
      media: Add P010 tiled format
      videobuf2: Introduce vb2_find_buffer()
      mediatek: vcodec: Use vb2_find_buffer
      tegra-vde: Use vb2_find_buffer
      vicodec: Use vb2_find_buffer
      hantro: Use vb2_find_buffer
      rkvdec: Use vb2_find_buffer
      cedrus: Use vb2_find_buffer
      videobuf2: Remove vb2_find_timestamp()

Jernej Skrabec (10):
      media: hantro: Support format filtering by depth
      media: hantro: postproc: Fix buffer size calculation
      media: hantro: postproc: Fix legacy regs configuration
      media: hantro: postproc: Properly calculate chroma offset
      media: hantro: Store VP9 bit depth in context
      media: hantro: sunxi: Enable 10-bit decoding
      media: cedrus: h265: Fix flag name
      media: cedrus: h265: Fix logic for not low delay flag
      media: cedrus: Improve error messages for controls
      media: cedrus: Add error handling for failed setup

 Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst        | 18 +++++++++++++++---
 drivers/media/common/videobuf2/videobuf2-v4l2.c                    | 11 +++++------
 drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_common.c |  7 +++----
 drivers/media/platform/mediatek/vcodec/vdec/vdec_vp8_req_if.c      |  7 +++----
 drivers/media/platform/mediatek/vcodec/vdec/vdec_vp9_req_lat_if.c  |  8 ++++----
 drivers/media/platform/nvidia/tegra-vde/h264.c                     |  9 ++++-----
 drivers/media/test-drivers/vicodec/vicodec-core.c                  |  8 ++------
 drivers/media/v4l2-core/v4l2-common.c                              |  1 +
 drivers/media/v4l2-core/v4l2-ioctl.c                               |  1 +
 drivers/staging/media/hantro/hantro.h                              |  4 ++++
 drivers/staging/media/hantro/hantro_drv.c                          | 29 +++++++++++++++++++++++++----
 drivers/staging/media/hantro/hantro_g2_vp9_dec.c                   | 18 +++++-------------
 drivers/staging/media/hantro/hantro_postproc.c                     | 38 ++++++++++++++++++++++++++++++--------
 drivers/staging/media/hantro/hantro_v4l2.c                         | 50 ++++++++++++++++++++++++++++++++++++++++++++++----
 drivers/staging/media/hantro/hantro_v4l2.h                         |  3 +++
 drivers/staging/media/hantro/sunxi_vpu_hw.c                        | 27 +++++++++++++++++++++++++++
 drivers/staging/media/rkvdec/rkvdec-h264.c                         | 41 ++++++++++++++---------------------------
 drivers/staging/media/rkvdec/rkvdec-vp9.c                          | 10 +++++-----
 drivers/staging/media/sunxi/cedrus/cedrus.c                        |  7 +++++--
 drivers/staging/media/sunxi/cedrus/cedrus.h                        | 26 +++++++++++++++-----------
 drivers/staging/media/sunxi/cedrus/cedrus_dec.c                    | 23 +++++++++++++++++------
 drivers/staging/media/sunxi/cedrus/cedrus_h264.c                   | 21 +++++++++++----------
 drivers/staging/media/sunxi/cedrus/cedrus_h265.c                   | 53 ++++++++++++++++++++++++++++++++++++++++-------------
 drivers/staging/media/sunxi/cedrus/cedrus_mpeg2.c                  | 32 +++++++++++---------------------
 drivers/staging/media/sunxi/cedrus/cedrus_regs.h                   |  3 +--
 drivers/staging/media/sunxi/cedrus/cedrus_vp8.c                    | 48 +++++++++++-------------------------------------
 include/media/videobuf2-v4l2.h                                     | 12 +++---------
 include/uapi/linux/videodev2.h                                     |  1 +
 28 files changed, 312 insertions(+), 204 deletions(-)

Comments

Jenkins July 12, 2022, 12:54 p.m. UTC | #1
From: builder@linuxtv.org

Pull request: https://patchwork.linuxtv.org/project/linux-media/patch/55858df1-6d8a-befe-5301-809665b9f2e3@xs4all.nl/
Build log: https://builder.linuxtv.org/job/patchwork/224254/
Build time: 00:55:46
Link: https://lore.kernel.org/linux-media/55858df1-6d8a-befe-5301-809665b9f2e3@xs4all.nl

gpg: Signature made Tue 12 Jul 2022 11:42:41 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 12/19 patches with issues, being 12 at build time, plus one error when buinding PDF document

Error/warnings:

patches/0001-media-Add-P010-tiled-format.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/i2c/cx25840/cx25840-core.c: ../drivers/media/i2c/cx25840/cx25840-core.c:5539 cx23885_dif_setup() 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/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)
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2548 dvb_register() parse error: OOM: 3000028Kb sm_state_count = 1725875
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2548 dvb_register() warn: Function too hairy.  No more merges.
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2548 dvb_register() parse error: __split_smt: function too hairy.  Giving up after 48 seconds
	../drivers/media/dvb-frontends/sp887x.c: ../drivers/media/dvb-frontends/sp887x.c:178 sp887x_initial_setup() error: __memcpy() '&buf[2]' too small (30 vs 16384)
	../drivers/media/platform/sunxi/sun6i-mipi-csi2/sun6i_mipi_csi2.c:193 sun6i_mipi_csi2_s_stream() warn: missing error code 'ret'
	../drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/sun8i_a83t_mipi_csi2.c:225 sun8i_a83t_mipi_csi2_s_stream() warn: missing error code 'ret'
	../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2854 em28xx_v4l2_init() parse error: turning off implications after 60 seconds

   checkpatch.pl:
	$ cat patches/0001-media-Add-P010-tiled-format.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:73: WARNING: line length of 165 exceeds 100 columns
	-:85: ERROR: trailing statements should be on next line
	-:97: WARNING: line length of 107 exceeds 100 columns

patches/0009-media-cedrus-h265-Fix-logic-for-not-low-delay-flag.patch:

    allyesconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

    allmodconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

patches/0010-media-cedrus-Improve-error-messages-for-controls.patch:

    allyesconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[6]: *** Waiting for unfinished jobs....
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

    allmodconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[6]: *** Waiting for unfinished jobs....
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

patches/0011-media-cedrus-Add-error-handling-for-failed-setup.patch:

    allyesconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[6]: *** Waiting for unfinished jobs....
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

    allmodconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[6]: *** Waiting for unfinished jobs....
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

patches/0012-videobuf2-Introduce-vb2_find_buffer.patch:

    allyesconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[6]: *** Waiting for unfinished jobs....
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[4]: *** Waiting for unfinished jobs....
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

    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)
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2548 dvb_register() parse error: OOM: 3000032Kb sm_state_count = 1725875
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2548 dvb_register() warn: Function too hairy.  No more merges.
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2548 dvb_register() parse error: __split_smt: function too hairy.  Giving up after 48 seconds
	../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2890 em28xx_v4l2_init() parse error: turning off implications after 60 seconds

    allmodconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[4]: *** Waiting for unfinished jobs....
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

patches/0013-mediatek-vcodec-Use-vb2_find_buffer.patch:

    allyesconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[6]: *** Waiting for unfinished jobs....
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[4]: *** Waiting for unfinished jobs....
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

    allmodconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[6]: *** Waiting for unfinished jobs....
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

patches/0014-tegra-vde-Use-vb2_find_buffer.patch:

    allyesconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

    allmodconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

patches/0015-vicodec-Use-vb2_find_buffer.patch:

    allyesconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

    allmodconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

patches/0016-hantro-Use-vb2_find_buffer.patch:

    allyesconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[4]: *** Waiting for unfinished jobs....
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

    allmodconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[4]: *** Waiting for unfinished jobs....
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

patches/0017-rkvdec-Use-vb2_find_buffer.patch:

    allyesconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[4]: *** Waiting for unfinished jobs....
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

    allmodconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[4]: *** Waiting for unfinished jobs....
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

   checkpatch.pl:
	$ cat patches/0017-rkvdec-Use-vb2_find_buffer.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:57: CHECK: Comparison to NULL could be written "run->ref_buf[ref->index]"

patches/0018-cedrus-Use-vb2_find_buffer.patch:

    allyesconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[6]: *** Waiting for unfinished jobs....
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

    allmodconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[6]: *** Waiting for unfinished jobs....
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

   checkpatch.pl:
	$ cat patches/0018-cedrus-Use-vb2_find_buffer.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict
	-:50: WARNING: please, no spaces at the start of a line
	-:51: WARNING: please, no spaces at the start of a line
	-:54: WARNING: please, no spaces at the start of a line
	-:55: WARNING: please, no spaces at the start of a line

patches/0019-videobuf2-Remove-vb2_find_timestamp.patch:

    allyesconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[4]: *** Waiting for unfinished jobs....
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2

    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)
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2548 dvb_register() parse error: OOM: 3000028Kb sm_state_count = 1725875
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2548 dvb_register() warn: Function too hairy.  No more merges.
	../drivers/media/pci/cx23885/cx23885-dvb.c: ../drivers/media/pci/cx23885/cx23885-dvb.c:2548 dvb_register() parse error: __split_smt: function too hairy.  Giving up after 49 seconds
	../drivers/media/usb/em28xx/em28xx-video.c: ../drivers/media/usb/em28xx/em28xx-video.c:2890 em28xx_v4l2_init() parse error: turning off implications after 60 seconds

    allmodconfig: return code #512:
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:316:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	../drivers/staging/media/sunxi/cedrus/cedrus_h265.c:323:40: error: ‘const struct v4l2_hevc_dpb_entry’ has no member named ‘pic_order_cnt_val’; did you mean ‘pic_order_cnt’?
	make[6]: *** [../scripts/Makefile.build:249: drivers/staging/media/sunxi/cedrus/cedrus_h265.o] Error 1
	make[6]: *** Waiting for unfinished jobs....
	make[5]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi/cedrus] Error 2
	make[4]: *** [../scripts/Makefile.build:466: drivers/staging/media/sunxi] Error 2
	make[4]: *** Waiting for unfinished jobs....
	make[3]: *** [../scripts/Makefile.build:466: drivers/staging/media] Error 2
	make[2]: *** [../scripts/Makefile.build:466: drivers/staging] Error 2
	make[1]: *** [/var/lib/jenkins/workspace/patchwork/Makefile:1843: drivers] Error 2
	make: *** [Makefile:219: __sub-make] Error 2


Error #512 when building PDF docs