[PATCH 0/2] media: qcom: iris: gen2 encoder picture type subscription and operating rate fixups

From: Neil Armstrong

Date: Tue Nov 17 2026 - 10:21:40 EST


Two fixups for the Qualcomm iris encoder:

- subscribe to the picture type on the encoder instance

Add encoder input and output property tables (HFI_PROP_NO_OUTPUT on the
input queue, HFI_PROP_PICTURE_TYPE on the output queue) for all gen2
firmware data tables.

- venc: drop operating rate to match spec

Per the V4L2 Stateful Encoder UAPI, the frame interval is set via S_PARAM
on the OUTPUT queue; drop the unused operating_rate so S_PARAM on OUTPUT
sets frame_rate directly, as FFmpeg and GStreamer expect.

Tested on the SM8650 platform for encode using both FFmpeg and
GStreamer, checking that the frame rate is properly applied and the
firmware reports the expected picture types.

Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
---
Neil Armstrong (2):
media: qcom: iris: gen2: subscribe to the picture type on the encoder instance
media: qcom: iris: venc: drop operating rate to match spec

drivers/media/platform/qcom/iris/iris_hfi_gen2.c | 23 ++++++++++
.../platform/qcom/iris/iris_hfi_gen2_command.c | 15 ++++--
drivers/media/platform/qcom/iris/iris_instance.h | 2 -
.../platform/qcom/iris/iris_platform_common.h | 6 ++-
.../media/platform/qcom/iris/iris_platform_milos.h | 1 -
.../platform/qcom/iris/iris_platform_qcs8300.h | 1 -
.../platform/qcom/iris/iris_platform_sm8550.h | 1 -
.../media/platform/qcom/iris/iris_platform_vpu2.c | 1 -
.../platform/qcom/iris/iris_platform_vpu_ar50lt.c | 1 -
drivers/media/platform/qcom/iris/iris_utils.c | 8 ++--
drivers/media/platform/qcom/iris/iris_venc.c | 53 ++++++----------------
11 files changed, 56 insertions(+), 56 deletions(-)
---
base-commit: aebb7274476403040d582c61478df8f4a7bf9cd3
change-id: 20261117-topic-iris-encoder-fixes-9f13c6ec765d

Best regards,
--
Neil Armstrong <neil.armstrong@xxxxxxxxxx>