[GIT PULL FOR v5.14] Add HANTRO G2/HEVC decoder support for IMX8MQ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Note: there is one checkpatch warning about an undocumented DT compatibility string:

WARNING: DT compatible string "nxp,imx8mq-vpu-g2" appears un-documented -- check ./Documentation/devicetree/bindings/
#29: FILE: drivers/staging/media/hantro/hantro_drv.c:591:
+       { .compatible = "nxp,imx8mq-vpu-g2", .data = &imx8mq_vpu_g2_variant },

This will go through another subsystem, as this is related to power domain changes, see:

https://lore.kernel.org/linux-media/20210407073534.376722-1-benjamin.gaignard@xxxxxxxxxxxxx/T/#m6bd571fee94b1b1fa5c5d3fa6315ae5c9f4c8fad

Since that's independent of the HEVC support, and this is still staging, I did
not want to hold back this series.

Regards,

	Hans

The following changes since commit 80c1c54a2aa3c5177f73fc5d505668df56fb28b6:

  Merge tag 'v5.13-rc4' into media_tree (2021-06-02 10:59:50 +0200)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.14i

for you to fetch changes up to 2ffad592bcb47fed6fffd287060c98d910560b6e:

  media: hantro: IMX8M: add variant for G2/HEVC codec (2021-06-03 14:10:57 +0200)

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

----------------------------------------------------------------
Benjamin Gaignard (9):
      media: hevc: Add fields and flags for hevc PPS
      media: hevc: Add decode params control
      media: hantro: change hantro_codec_ops run prototype to return errors
      media: hantro: Define HEVC codec profiles and supported features
      media: hantro: Only use postproc when post processed formats are defined
      media: uapi: Add a control for HANTRO driver
      media: hantro: handle V4L2_PIX_FMT_HEVC_SLICE control
      media: hantro: Introduce G2/HEVC decoder
      media: hantro: IMX8M: add variant for G2/HEVC codec

 Documentation/userspace-api/media/drivers/hantro.rst       |  19 ++
 Documentation/userspace-api/media/drivers/index.rst        |   1 +
 Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst  | 108 ++++++--
 Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst |   6 +
 drivers/media/v4l2-core/v4l2-ctrls-core.c                  |  21 +-
 drivers/media/v4l2-core/v4l2-ctrls-defs.c                  |   4 +
 drivers/staging/media/hantro/Makefile                      |   2 +
 drivers/staging/media/hantro/hantro.h                      |  13 +-
 drivers/staging/media/hantro/hantro_drv.c                  |  99 ++++++-
 drivers/staging/media/hantro/hantro_g1_h264_dec.c          |  10 +-
 drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c         |   4 +-
 drivers/staging/media/hantro/hantro_g1_vp8_dec.c           |   6 +-
 drivers/staging/media/hantro/hantro_g2_hevc_dec.c          | 586 +++++++++++++++++++++++++++++++++++++++++
 drivers/staging/media/hantro/hantro_g2_regs.h              | 198 ++++++++++++++
 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c          |   4 +-
 drivers/staging/media/hantro/hantro_hevc.c                 | 333 +++++++++++++++++++++++
 drivers/staging/media/hantro/hantro_hw.h                   |  71 ++++-
 drivers/staging/media/hantro/hantro_postproc.c             |  14 +
 drivers/staging/media/hantro/hantro_v4l2.c                 |   5 +-
 drivers/staging/media/hantro/imx8m_vpu_hw.c                |  96 ++++++-
 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c      |   4 +-
 drivers/staging/media/hantro/rk3399_vpu_hw_mpeg2_dec.c     |   4 +-
 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c       |   6 +-
 drivers/staging/media/sunxi/cedrus/cedrus.c                |   6 +
 drivers/staging/media/sunxi/cedrus/cedrus.h                |   1 +
 drivers/staging/media/sunxi/cedrus/cedrus_dec.c            |   2 +
 drivers/staging/media/sunxi/cedrus/cedrus_h265.c           |  12 +-
 include/media/hevc-ctrls.h                                 |  46 +++-
 28 files changed, 1612 insertions(+), 69 deletions(-)
 create mode 100644 Documentation/userspace-api/media/drivers/hantro.rst
 create mode 100644 drivers/staging/media/hantro/hantro_g2_hevc_dec.c
 create mode 100644 drivers/staging/media/hantro/hantro_g2_regs.h
 create mode 100644 drivers/staging/media/hantro/hantro_hevc.c



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux