Skip to content

hantro: Add RK3399 VP8 decoding support

Ezequiel Garcia linux-media linux-rockchip lkml stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 6 repliesIn review
  2. v17 patches 2 repliesSuperseded

Changes in v2 from the cover letter

* Remove unused variables.
* Use buffer helpers in places missing in v1.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7media: hantro: Set DMA max segment sizedrivers/staging/media/hantro/hantro_drv.c+1 -02 replies
2/7media: hantro: Simplify the controls creation logicdrivers/staging/media/hantro/hantro.h drivers/staging/media/hantro/hantro_drv.c+8 -220 replies
3/7media: hantro: Constify the control arraydrivers/staging/media/hantro/hantro_drv.c+1 -10 replies
4/7media: hantro: Add hantro_get_{src,dst}_buf() helpersdrivers/staging/media/hantro/hantro.h drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c drivers/staging/media/hantro/hantro_g1_vp8_dec.c +3 more+25 -120 replies
5/7media: hantro: Add helpers to prepare/finish a rundrivers/staging/media/hantro/hantro_drv.c drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c drivers/staging/media/hantro/hantro_g1_vp8_dec.c +4 more+37 -330 replies
6/7media: hantro: Move VP8 common codedrivers/staging/media/hantro/hantro_g1_vp8_dec.c drivers/staging/media/hantro/hantro_hw.h drivers/staging/media/hantro/hantro_vp8.c+19 -174 replies
7/7media: hantro: Support RK3399 VP8 decodingdrivers/staging/media/hantro/Makefile drivers/staging/media/hantro/hantro_hw.h drivers/staging/media/hantro/rk3399_vpu_hw.c +1 more+618 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] hantro: Add RK3399 VP8 decoding support

This series adds VP8 decoding support on RK3399 SoC.

I'm including a set of commits from Boris' recent H264 series [1]. These commits add some helpers that are also useful for RK3399 VP8, and at the same time cleanup the driver nicely.

Finally, there's a fix by Francois Buergisser from Chromium team.

VP8 and MPEG-2 tested on RK3399 RockPi and RK3288 Rock2 boards.

[1] https://patchwork.kernel.org/cover/11003971/

Changes from v1:

* Remove unused variables.
* Use buffer helpers in places missing in v1.

Boris Brezillon (4):
media: hantro: Simplify the controls creation logic
media: hantro: Constify the control array
media: hantro: Add hantro_get_{src,dst}_buf() helpers
media: hantro: Add helpers to prepare/finish a run

Ezequiel Garcia (1):
media: hantro: Move VP8 common code

Francois Buergisser (1):
media: hantro: Set DMA max segment size

Jeffy Chen (1):
media: hantro: Support RK3399 VP8 decoding

 drivers/staging/media/hantro/Makefile         |   1 +
 drivers/staging/media/hantro/hantro.h         |  15 +-
 drivers/staging/media/hantro/hantro_drv.c     |  53 +-
 .../media/hantro/hantro_g1_mpeg2_dec.c        |  14 +-
 .../staging/media/hantro/hantro_g1_vp8_dec.c  |  34 +-
 .../staging/media/hantro/hantro_h1_jpeg_enc.c |  11 +-
 drivers/staging/media/hantro/hantro_hw.h      |   7 +
 drivers/staging/media/hantro/hantro_vp8.c     |  15 +
 drivers/staging/media/hantro/rk3399_vpu_hw.c  |  22 +-
 .../media/hantro/rk3399_vpu_hw_jpeg_enc.c     |  12 +-
 .../media/hantro/rk3399_vpu_hw_mpeg2_dec.c    |  14 +-
 .../media/hantro/rk3399_vpu_hw_vp8_dec.c      | 595 ++++++++++++++++++
 12 files changed, 708 insertions(+), 85 deletions(-)
 create mode 100644 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c
Signature · 1 line
2.22.0