RFC arm64: imx8mm: Enable Hantro VPUs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 RFC Latest2 patches 6 repliesIn review
- v2 RFC2 patches 17 repliesSuperseded
- v1 RFC5 patches 36 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | media: hantro: Add support for i.MX8M Minidrivers/ drivers/ drivers/ | +69 | 0 replies | |
| 2/2 | arm64: dts: imx8mm: Enable VPU-G1 and VPU-G2arch/ | +41 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Tim Harvey |
|---|---|
| Series | T-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC V3 0/2] arm64: imx8mm: Enable Hantro VPUs
The i.MX8M has two Hantro video decoders, called G1 and G2 which appear to be related to the video decoders used on the i.MX8MQ, but because of how the Mini handles the power domains, the VPU driver does not need to handle all the functions, so a new compatible flag is required.
V3 is rebased from git://linuxtv.org/hverkuil/media_tree.git for-v5.17c This branch has support for VP9.
I set cma=512M, but this may not be enough memory as some tests appeard to run out of memory
V3 of this series has several changes:
Update imx8m_vpu_hw to add missing 'reg' reference names for G2 and include references to VP9 Update device tree to remove IMX8MQ_VPU_RESET, remove some duplicate vpu clock parenting Fix missing reg-names from vpu_g2 node.
Apply patch [1] to manage the power domains powering down.
[1] - https://lore.kernel.org/linux-arm-kernel/[email protected]/t/
With the above, the following Fluster scores are produced:
G1:
./fluster.py run -dGStreamer-H.264-V4L2SL-Gst1.0
Ran 90/135 tests successfully in 74.406 secs
./fluster.py run -d GStreamer-VP8-V4L2SL-Gst1.0
Ran 55/61 tests successfully in 8.080 secs
G2:
./fluster.py run -d GStreamer-VP9-V4L2SL-Gst1.0
Ran 127/303 tests successfully in 203.873 secs
Fluster and G-Streamer were both built from their respective git repos using their respective master/main branches.
Adam Ford (2):
media: hantro: Add support for i.MX8M Mini
arm64: dts: imx8mm: Enable VPU-G1 and VPU-G2
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 41 +++++++++++++ drivers/staging/media/hantro/hantro_drv.c | 2 + drivers/staging/media/hantro/hantro_hw.h | 2 + drivers/staging/media/hantro/imx8m_vpu_hw.c | 65 +++++++++++++++++++++ 4 files changed, 110 insertions(+)
Signature · 1 line
2.32.0