Skip to content

Fix concurrency issues between G1 and G2 on

[email protected] imx linux-arm-kernel linux-media linux-pm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 9 repliesIn review
  2. v33 patches 7 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3media: v4l2-mem2mem: Add a kref to the v4l2_m2m_dev structuredrivers/media/v4l2-core/v4l2-mem2mem.c include/media/v4l2-mem2mem.h+44 -04 replies
2/3pmdomain: imx8m-blk-ctrl: Remove separate rst and clk mask for 8mq vpudrivers/pmdomain/imx/imx8m-blk-ctrl.c+7 -41 reply
3/3media: verisilicon: Avoid G2 bus error while decoding H.264 and HEVCdrivers/media/platform/verisilicon/hantro.h drivers/media/platform/verisilicon/hantro_drv.c drivers/media/platform/verisilicon/imx8m_vpu_hw.c+49 -31 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchBenjamin GaignardPeng FanFrank Li
1/3R-b
2/3R-b R-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/3] Fix concurrency issues between G1 and G2 on

From: Ming Qian <[email protected]>

On the i.MX8MQ, we encountered some concurrency issues with H264 and HEVC decoding.

There are two main reasons:
1. The vpu blk-ctrl don't have separate reset and clock enable bits.
2. The g1 VPU and g2 VPU cannot decode simultaneously.

We attempted to make corresponding fix to address these two issues.

Ming Qian (2):
pmdomain: imx8m-blk-ctrl: Remove separate rst and clk mask for 8mq vpu
media: verisilicon: Avoid G2 bus error while decoding H.264 and HEVC

Nicolas Dufresne (1):
media: v4l2-mem2mem: Add a kref to the v4l2_m2m_dev structure

 drivers/media/platform/verisilicon/hantro.h   |  2 +
 .../media/platform/verisilicon/hantro_drv.c   | 42 +++++++++++++++++--
 .../media/platform/verisilicon/imx8m_vpu_hw.c |  8 ++++
 drivers/media/v4l2-core/v4l2-mem2mem.c        | 23 ++++++++++
 drivers/pmdomain/imx/imx8m-blk-ctrl.c         | 11 +++--
 include/media/v4l2-mem2mem.h                  | 21 ++++++++++
 6 files changed, 100 insertions(+), 7 deletions(-)
Signature · 1 line
2.52.0