linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC V2 0/2] arm64: imx8mm: Enable Hantro VPUs
@ 2021-12-01  1:33 Adam Ford
  2021-12-01  1:33 ` [RFC V2 1/2] media: hantro: Add support for i.MX8M Mini Adam Ford
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Adam Ford @ 2021-12-01  1:33 UTC (permalink / raw)
  To: linux-media
  Cc: ezequiel, hverkuil, tharvey, nicolas, aford, Adam Ford,
	Rob Herring, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Philipp Zabel,
	Mauro Carvalho Chehab, Greg Kroah-Hartman, devicetree,
	linux-arm-kernel, linux-kernel, linux-rockchip, linux-staging

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, nor does it support the post-processor,
so a new compatible flag is required.

With the suggestion from Hans Verkuil, I was able to get the G2 splat to go away
with changes to FORCE_MAX_ZONEORDER, but I found I could also set cma=512M, however
it's unclear to me if that's an acceptable alternative.

At the suggestion of Ezequiel Garcia and Nicolas Dufresne I have some
results from Fluster. However, the G2 VPU appears to fail most tests.

./fluster.py run -dGStreamer-H.264-V4L2SL-Gst1.0
Ran 90/135 tests successfully               in 76.431 secs

 ./fluster.py run -d GStreamer-VP8-V4L2SL-Gst1.0
Ran 55/61 tests successfully               in 21.454 secs

./fluster.py run -d GStreamer-VP9-V4L2SL-Gst1.0
Ran 0/303 tests successfully               in 20.016 secs

Each day seems to show more and more G2 submissions, and gstreamer seems to be 
still working on the VP9, so I am not sure if I should drop G2 as well.


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 | 57 +++++++++++++++++++++
 4 files changed, 102 insertions(+)

-- 
2.32.0


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2021-12-02  3:57 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01  1:33 [RFC V2 0/2] arm64: imx8mm: Enable Hantro VPUs Adam Ford
2021-12-01  1:33 ` [RFC V2 1/2] media: hantro: Add support for i.MX8M Mini Adam Ford
2021-12-01 12:25   ` Ezequiel Garcia
2021-12-01 12:36     ` Adam Ford
2021-12-01 12:58       ` Ezequiel Garcia
2021-12-01 21:03         ` Nicolas Dufresne
2021-12-02  0:58           ` Adam Ford
2021-12-01  1:33 ` [RFC V2 2/2] arm64: dts: imx8mm: Enable VPU-G1 and VPU-G2 Adam Ford
2021-12-01  9:27 ` [RFC V2 0/2] arm64: imx8mm: Enable Hantro VPUs Benjamin Gaignard
2021-12-01 17:23 ` Tim Harvey
2021-12-01 17:32   ` Lucas Stach
2021-12-01 18:16     ` Tim Harvey
2021-12-01 18:37       ` Lucas Stach
2021-12-01 18:52         ` Adam Ford
2021-12-01 19:04           ` Lucas Stach
2021-12-01 19:27             ` Adam Ford
2021-12-01 20:04         ` Tim Harvey
2021-12-02  1:07           ` Adam Ford
2021-12-02  3:57             ` Adam Ford
2021-12-01 18:21     ` Adam Ford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).