The following changes since commit 68b9bcc8a534cd11fe55f8bc82f948aae7d81b3c: media: ipu3-cio2: Add support for instantiating i2c-clients for VCMs (2021-12-16 20:58:56 +0100) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.18d for you to fetch changes up to 844e00f95147ff0c81e1d31a89ca5df25d1a983c: media: mtk-vcodec: Remove mtk_vcodec_release_enc_pm (2022-01-13 09:31:10 +0100) ---------------------------------------------------------------- Tag branch ---------------------------------------------------------------- Yunfei Dong (19): media: mtk-vcodec: Get numbers of register bases from DT media: mtk-vcodec: Align vcodec wake up interrupt interface media: mtk-vcodec: Refactor vcodec pm interface media: mtk-vcodec: export decoder pm functions dt-bindings: media: mtk-vcodec: Separate video encoder and decoder dt-bindings dt-bindings: media: mtk-vcodec: Adds decoder dt-bindings for mt8192 media: mtk-vcodec: Support MT8192 media: mtk-vcodec: Add to support multi hardware decode media: mtk-vcodec: Use pure single core for MT8183 media: mtk-vcodec: Add irq interface for multi hardware media: mtk-vcodec: Add msg queue feature for lat and core architecture media: mtk-vcodec: Generalize power and clock on/off interfaces media: mtk-vcodec: Add new interface to lock different hardware media: mtk-vcodec: Add work queue for core hardware decode media: mtk-vcodec: Support 34bits dma address for vdec media: mtk-vcodec: Add core dec and dec end ipi msg media: mtk-vcodec: Use codec type to separate different hardware media: mtk-vcodec: Remove mtk_vcodec_release_dec_pm media: mtk-vcodec: Remove mtk_vcodec_release_enc_pm .../devicetree/bindings/media/mediatek,vcodec-decoder.yaml | 176 +++++++++++++++++++ .../devicetree/bindings/media/mediatek,vcodec-encoder.yaml | 187 ++++++++++++++++++++ .../devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml | 265 ++++++++++++++++++++++++++++ Documentation/devicetree/bindings/media/mediatek-vcodec.txt | 131 -------------- drivers/media/platform/mtk-vcodec/Makefile | 6 +- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c | 4 +- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.h | 1 + drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c | 178 ++++++++++++++----- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c | 201 +++++++++++++++++++++ drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h | 56 ++++++ drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.c | 105 ++++++++--- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_pm.h | 11 +- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c | 2 + drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c | 21 +++ drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h | 74 +++++++- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c | 21 +-- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.c | 10 +- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_pm.h | 3 +- drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c | 30 ++-- drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.h | 5 +- drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c | 59 +++++-- drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h | 8 +- drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c | 2 +- drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c | 2 +- drivers/media/platform/mtk-vcodec/vdec/vdec_vp8_if.c | 2 +- drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c | 2 +- drivers/media/platform/mtk-vcodec/vdec_drv_if.c | 21 +-- drivers/media/platform/mtk-vcodec/vdec_ipi_msg.h | 16 +- drivers/media/platform/mtk-vcodec/vdec_msg_queue.c | 290 +++++++++++++++++++++++++++++++ drivers/media/platform/mtk-vcodec/vdec_msg_queue.h | 153 ++++++++++++++++ drivers/media/platform/mtk-vcodec/vdec_vpu_if.c | 46 ++++- drivers/media/platform/mtk-vcodec/vdec_vpu_if.h | 22 +++ drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c | 2 +- drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c | 2 +- 34 files changed, 1818 insertions(+), 296 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/mediatek,vcodec-decoder.yaml create mode 100644 Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml create mode 100644 Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml delete mode 100644 Documentation/devicetree/bindings/media/mediatek-vcodec.txt create mode 100644 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.c create mode 100644 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_hw.h create mode 100644 drivers/media/platform/mtk-vcodec/vdec_msg_queue.c create mode 100644 drivers/media/platform/mtk-vcodec/vdec_msg_queue.h