Re: [PATCH] media: iris: Enumerate cap->bus_info to differentiate between encoder and decoder

From: Dmitry Baryshkov

Date: Mon Jun 08 2026 - 02:39:24 EST


On Tue, Jun 02, 2026 at 02:59:21PM +0100, Bryan O'Donoghue wrote:
> commit 66c744e28b69 ("media: venus: assign unique bus_info strings for
> encoder and decoder") introduced the naming convention
> plat:node-addr:video-codec{enc|dec}. Right now Iris does not replicate this
> naming convention.
>
> When we do v4l2-ctrl --list -devices we see:
> Iris Decoder (platform:aa00000.video-codec):
> /dev/video0
> /dev/video1
>
> Enumerate the bus_info field of the capabilities structure for namespace
> parity and appropriate differentiation:
> Iris Decoder (plat:aa00000.video-codec:dec):
> /dev/video0
>
> Iris Encoder (plat:aa00000.video-codec:enc):
> /dev/video1
>
> Fixes: 5ad964ad5656 ("media: iris: Initialize and deinitialize encoder instance structure")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
> ---
> A really simple fix to differentiate encoder and decoder in user-space for
> the Iris driver as we have previously and recent done for Venus.
> ---
> drivers/media/platform/qcom/iris/iris_vidc.c | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>

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


--
With best wishes
Dmitry