media: qcom: iris: gen2 encoder picture type subscription and operating rate fixups
Get series with b4
b4 am [email protected] change-id 20261117-topic-iris-encoder-fixes-9f13c6ec765dVersions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | media: qcom: iris: gen2: subscribe to the picture type on the encoder instancedrivers/ drivers/ drivers/ | +38 | 1 reply | |
| 2/2 | media: qcom: iris: venc: drop operating rate to match specdrivers/ drivers/ drivers/ +6 more | +18 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] media: qcom: iris: gen2 encoder picture type subscription and operating rate fixups
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.
---
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,
Signature · 1 line
Neil Armstrong <[email protected]>