Re: [PATCH v4 1/7] media: qcom: iris: Centralize internal buffer table selection

From: Dmitry Baryshkov

Date: Tue Jul 21 2026 - 20:42:46 EST


On Tue, Jul 21, 2026 at 07:50:34AM +0530, Vishnu Reddy wrote:
> From: Dikshita Agarwal <dikshita.agarwal@xxxxxxxxxxxxxxxx>
>
> Internal buffer table dispatch is duplicated across multiple Iris code
> paths, which is error‑prone and makes future changes harder to reason
> about.
>
> Consolidate the buffer dispatch logic into a single helper so that table
> selection is defined in exactly one place and keep call sites minimal.
> No functional change intended.
>
> Reviewed-by: Bryan O'Donoghue <bod@xxxxxxxxxx>
> Signed-off-by: Dikshita Agarwal <dikshita.agarwal@xxxxxxxxxxxxxxxx>
> Signed-off-by: Vishnu Reddy <busanna.reddy@xxxxxxxxxxxxxxxx>
> ---
> drivers/media/platform/qcom/iris/iris_buffer.c | 107 ++++++-------------------
> 1 file changed, 26 insertions(+), 81 deletions(-)
>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>

>

--
With best wishes
Dmitry