Various codec fixes and enhancements
The following changes since commit 71937240a472ee551ac8de0e7429b9d49884a388:
media: ov2685: Select VIDEO_V4L2_SUBDEV_API (2023-03-20 16:32:18 +0100)
are available in the Git repository at:
git://linuxtv.org/hverkuil/media_tree.git tags/br-v6.4f
for you to fetch changes up to bc08747b7f34fcc768ff3b17f1c16f6d3b336cb3:
media: rkvdec: fix use after free bug in rkvdec_remove (2023-03-21 15:03:16 +0100)
----------------------------------------------------------------
Tag branch
----------------------------------------------------------------
Benjamin Gaignard (6):
media: verisilicon: Do not set context src/dst formats in reset functions
media: verisilicon: Do not use ctx fields as format storage when resetting
media: verisilicon: Do not set ctx->bit_depth in hantro_try_ctrl()
media: verisilicon: Do not change context bit depth before validating the format
media: verisilicon: HEVC: Only propose 10 bits compatible pixels formats
media: verisilicon: VP9: Only propose 10 bits compatible pixels formats
Ming Qian (4):
media: add Sorenson Spark video format
media: amphion: support to decode sorenson spark video
media: add RealVideo format RV30 and RV40
media: amphion: support to decode RealVideo video
Yunfei Dong (7):
media: mediatek: vcodec: add params to record lat and core lat_buf count
media: mediatek: vcodec: using each instance lat_buf count replace core ready list
media: mediatek: vcodec: move lat_buf to the top of core list
media: mediatek: vcodec: add core decode done event
media: mediatek: vcodec: remove unused lat_buf
media: mediatek: vcodec: making sure queue_work successfully
media: mediatek: vcodec: change lat thread decode error condition
Zheng Wang (2):
media: cedrus: fix use after free bug in cedrus_remove due to race condition
media: rkvdec: fix use after free bug in rkvdec_remove
Documentation/userspace-api/media/v4l/pixfmt-compressed.rst | 25 ++++++++++++++++ drivers/media/platform/amphion/vdec.c | 21 +++++++++++++ drivers/media/platform/amphion/vpu_malone.c | 41 ++++++++++++++++++++++++++ drivers/media/platform/amphion/vpu_malone.h | 1 + drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateless.c | 6 ++-- drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_multi_if.c | 2 +- drivers/media/platform/mediatek/vcodec/vdec/vdec_vp9_req_lat_if.c | 2 +- drivers/media/platform/mediatek/vcodec/vdec_msg_queue.c | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++-------- drivers/media/platform/mediatek/vcodec/vdec_msg_queue.h | 12 ++++++++ drivers/media/platform/verisilicon/hantro_drv.c | 49 +++++++++++++++++++++++------- drivers/media/platform/verisilicon/hantro_postproc.c | 2 +- drivers/media/platform/verisilicon/hantro_v4l2.c | 90 ++++++++++++++++++++++++++----------------------------- drivers/media/platform/verisilicon/hantro_v4l2.h | 3 +- drivers/media/platform/verisilicon/imx8m_vpu_hw.c | 2 ++ drivers/media/v4l2-core/v4l2-ioctl.c | 3 ++ drivers/staging/media/rkvdec/rkvdec.c | 2 ++ drivers/staging/media/sunxi/cedrus/cedrus.c | 1 + include/uapi/linux/videodev2.h | 3 ++ 18 files changed, 282 insertions(+), 78 deletions(-)
Re: [GIT PULL FOR v6.4] Various codec fixes and enhancements (#90582)
From: [email protected]
Pull request: https://patchwork.linuxtv.org/project/linux-media/patch/[email protected]/
Build log: https://builder.linuxtv.org/job/patchwork/291166/
Build time: 00:51:28
gpg: Signature made Tue 21 Mar 2023 02:36:05 PM UTC gpg: using EDDSA key 52ADCAAE8A4F70B99ACD8D726B425DF79B1C1E76 gpg: Good signature from "Hans Verkuil <[email protected]>" [unknown] gpg: aka "Hans Verkuil <[email protected]>" [full]
Summary: got 2/19 patches with issues, being 2 at build time, plus one error when buinding PDF document
Error/warnings:
patches/0001-media-add-Sorenson-Spark-video-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 ../drivers/staging/media/atomisp/i2c/atomisp-ov2680.c:415 ov2680_s_stream() warn: missing error code 'ret' ../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3357 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:3456 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:2490 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 = 1974281 ../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/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/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-Sorenson-Spark-video-format.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict -:44: ERROR: trailing statements should be on next line
patches/0003-media-add-RealVideo-format-RV30-and-RV40.patch:
allyesconfig: return code #0:
../drivers/staging/media/atomisp/i2c/atomisp-ov2680.c:415 ov2680_s_stream() warn: missing error code 'ret' ../drivers/staging/media/atomisp/pci/atomisp_cmd.c: ../drivers/staging/media/atomisp/pci/atomisp_cmd.c:3357 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:3456 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:2490 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: 3000016Kb sm_state_count = 1974424 ../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/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
checkpatch.pl:
$ cat patches/0003-media-add-RealVideo-format-RV30-and-RV40.patch | formail -c | ./scripts/checkpatch.pl --terse --mailback --no-summary --strict -:60: ERROR: trailing statements should be on next line -:61: ERROR: trailing statements should be on next line
Error #512 when building PDF docs