Re: [PATCH v5 3/6] media: iris: stop encoding PIPE value into fw_caps
From: Vikash Garodia
Date: Tue Oct 28 2025 - 06:27:44 EST
On 10/27/2025 5:57 PM, Dmitry Baryshkov wrote:
> The value of the PIPE property depends on the number of pipes available
> on the platform and is frequently the only difference between several
> fw_caps. In order to reduce duplciation, use num_vpp_pipe from the
> iris_platform_data rather than hardcoding the value into the fw_cap.
>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
> ---
> drivers/media/platform/qcom/iris/iris_ctrls.c | 16 +++++++++++++---
> drivers/media/platform/qcom/iris/iris_platform_gen2.c | 4 +---
> drivers/media/platform/qcom/iris/iris_platform_qcs8300.h | 4 +---
> drivers/media/platform/qcom/iris/iris_platform_sm8250.c | 4 +---
> 4 files changed, 16 insertions(+), 12 deletions(-)
Reviewed-by: Vikash Garodia <vikash.garodia@xxxxxxxxxxxxxxxx>