Re: [PATCH 1/2] media: iris: enable pipe for hfi gen2 encoder

From: Vikash Garodia

Date: Tue Sep 22 2026 - 10:06:54 EST



On 7/30/2026 8:25 PM, Sachin Kumar Garg wrote:
Currently the PIPE capability (HFI_PROP_PIPE / work-route) is only
wired up for the HFI Gen2 decoder. Add a PIPE entry to the HFI Gen2
encoder instance capability table, and extend the encoder
branch of iris_session_init_caps() to derive PIPE's min/max/value
from the platform's num_vpp_pipe, mirroring the existing decoder
handling.

Signed-off-by: Sachin Kumar Garg<sachin.garg@xxxxxxxxxxxxxxxx>
---
drivers/media/platform/qcom/iris/iris_ctrls.c | 16 +++++++++++++---
drivers/media/platform/qcom/iris/iris_hfi_gen2.c | 7 +++++++
2 files changed, 20 insertions(+), 3 deletions(-)

Reviewed-by: Vikash Garodia <vikash.garodia@xxxxxxxxxxxxxxxx>