Repository navigation
Conversation
Synchronous per-picture clients such as VA-API can stall when firmware holds decoded pictures for display reordering while the client waits for the current picture before submitting more input. Expose the decoder display-delay controls on HFI gen2, with a zero delay selecting decode-order output. Keep display-order output as the default. Signed-off-by: Xilin Wu <sophon@radxa.com> Acked-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Link: https://lore.kernel.org/r/20261029-iris-va-fixes-v1-1-44a2783f782b@radxa.com Signed-off-by: Mehul <mehugaur@qti.qualcomm.com>
VLC with VA-API frame threading can require more than the default vb2 limit of 32 CAPTURE buffers. Raise the HFI gen2 decoder CAPTURE queue limit to 64 buffers. Signed-off-by: Xilin Wu <sophon@radxa.com> Link: https://lore.kernel.org/r/20261029-iris-va-fixes-v1-2-44a2783f782b@radxa.com Signed-off-by: Mehul <mehugaur@qti.qualcomm.com>
HFI gen2 encoders do not expose deblocking filter controls, preventing applications from configuring the filter mode and offsets. Add the standard V4L2 H.264 and HEVC loop filter controls. Signed-off-by: Xilin Wu <sophon@radxa.com> Link: https://lore.kernel.org/r/20261029-iris-va-fixes-v1-3-44a2783f782b@radxa.com Signed-off-by: Mehul <mehugaur@qti.qualcomm.com>
Clearing timestamps on error buffers prevents clients such as libva-v4l2 from identifying the failed picture and can cause synchronization timeouts. Preserve the firmware-provided timestamp when returning an error buffer. Fixes: b791dcf ("media: iris: Add handling for corrupt and drop frames") Signed-off-by: Xilin Wu <sophon@radxa.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Link: https://lore.kernel.org/r/20261029-iris-va-fixes-v1-4-44a2783f782b@radxa.com Signed-off-by: Mehul <mehugaur@qti.qualcomm.com>
HFI gen2 reports non-display pictures with HFI_GEN2_PICTURE_NOSHOW, but Iris returns them as errors. For AV1, hidden and displayed pictures can share a timestamp, so GStreamer's v4l2av1dec drops the pending frame and loses the displayed picture. Recycle successful non-display buffers within the driver instead of returning them to userspace as errors. This also fixes VP9 streams using hidden alt-ref frames. Fixes: ac72ad9 ("media: iris: Add handling for no show frames") Signed-off-by: Xilin Wu <sophon@radxa.com> Link: https://lore.kernel.org/r/20261029-iris-va-fixes-v1-5-44a2783f782b@radxa.com Signed-off-by: Mehul <mehugaur@qti.qualcomm.com>
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
PR #1613 — validate-patchPR: #1613
Final Summary
|
PR #1613 — checker-log-analyzerPR: #1613
Detailed report: Full report
|
This series adds features and fixes to Iris HFI gen2 to support
qcom-va-driver [1], a userspace VA-API backend for the V4L2 stateful codec
interface.
It enables decode-order output and larger CAPTURE buffer pools for VA-API
clients, and exposes encoder deblocking controls. It also fixes
error-buffer timestamps and handling of non-display AV1 and VP9 pictures,
which affect both VA-API and direct V4L2 clients.