Re: [PATCH v3 0/6] media: iris: prepare support for video codecs on Qcom vpu4 platform

From: Vikash Garodia

Date: Tue Nov 11 2025 - 07:43:53 EST



On 11/11/2025 4:08 PM, Dmitry Baryshkov wrote:
On Fri, Nov 07, 2025 at 03:19:35PM +0530, Vikash Garodia wrote:
Upcoming Qualcomm kaanapali platform have a newer generation of video
IP, iris4 or vpu4. The hardware have evolved mostly w.r.t higher number
of power domains as well as multiple clock sources. It has support for
new codec(apv), when compared to prior generation.

From previous version of this series, the kaanapali binding patch(#1/8)
and the compatible patch(#8/8) have been dropped. The discussion for
this is captured here [1].
The series introducs buffer calculation and power sequence for vpu4. It
prepares for vpu4 when kaanapali is enabled after the binding discussion
is concluded.


gstreamer test:
Decoders validated with below commands, codec specific:
Why not just run the fluster testsuite?


yeah, fluster can also be executed. Individual codec commands were explicitly called out incase someone wants to run standalone gst pipeline.

gst-launch-1.0 multifilesrc location=<input_file.h264> stop-index=0 !
parsebin ! v4l2h264dec ! video/x-raw ! videoconvert dither=none !
video/x-raw,format=I420 ! filesink location=<output_file.yuv>

gst-launch-1.0 multifilesrc location=<input_file.hevc> stop-index=0 !
parsebin ! v4l2h265dec ! video/x-raw ! videoconvert dither=none !
video/x-raw,format=I420 ! filesink location=<output_file.yuv>

gst-launch-1.0 filesrc location=<input_file.webm> stop-index=0 !
parsebin ! vp9dec ! video/x-raw ! videoconvert dither=none !
video/x-raw,format=I420 ! filesink location=<output_file.yuv>

Encoders validated with below commands:
gst-launch-1.0 -v filesrc location=<input_file.yuv> ! rawvideoparse
format=nv12 width=<width> height=<height> framerate=30/1 ! v4l2h264enc
capture-io-mode=4 output-io-mode=4 ! filesink sync=true
location=<output_file.h264>

gst-launch-1.0 -v filesrc location=<input_file.yuv> ! rawvideoparse
format=nv12 width=<width> height=<height> framerate=30/1 ! v4l2h265enc
capture-io-mode=4 output-io-mode=4 ! filesink sync=true
location=<output_file.hevc>

Regards,
Vikash