Re: [PATCH] media: qcom: camss: vfe: fix PIX subdev naming on VFE lite
From: Loic Poulain
Date: Thu Mar 19 2026 - 10:46:57 EST
On Thu, Mar 19, 2026 at 10:11 AM Wenmeng Liu
<wenmeng.liu@xxxxxxxxxxxxxxxx> wrote:
>
> VFE lite hardware does not provide a functional PIX path, but after
> the per sub-device type resource changes the PIX subdev name is still
> assigned unconditionally.
>
> Only assign the PIX subdev name on non-lite VFE variants to avoid
> exposing a misleading device name.
>
> Fixes: ae44829a4a97 ("media: qcom: camss: Add per sub-device type resources")
> Signed-off-by: Wenmeng Liu <wenmeng.liu@xxxxxxxxxxxxxxxx>
> ---
> drivers/media/platform/qcom/camss/camss-vfe.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/platform/qcom/camss/camss-vfe.c b/drivers/media/platform/qcom/camss/camss-vfe.c
> index 5baf0e3d4bc461df28d8dcf97a98dec04fa17ceb..2ee4f9ae0ab50e22f916736f1d1664767bdb6a36 100644
> --- a/drivers/media/platform/qcom/camss/camss-vfe.c
> +++ b/drivers/media/platform/qcom/camss/camss-vfe.c
> @@ -2053,7 +2053,7 @@ int msm_vfe_register_entities(struct vfe_device *vfe,
> v4l2_subdev_init(sd, &vfe_v4l2_ops);
> sd->internal_ops = &vfe_v4l2_internal_ops;
> sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
> - if (i == VFE_LINE_PIX)
> + if (i == VFE_LINE_PIX && vfe->res->is_lite == false)
> snprintf(sd->name, ARRAY_SIZE(sd->name), "%s%d_%s",
> MSM_VFE_NAME, vfe->id, "pix");
So the PIX path will be called RDI? Doesn’t that seem misleading as well?
> else
>
> ---
> base-commit: 8e42d2514a7e8eb8d740d0ba82339dd6c0b6463f
> change-id: 20260319-camss_fix-506ae164a5dc
>
> Best regards,
> --
> Wenmeng Liu <wenmeng.liu@xxxxxxxxxxxxxxxx>
>
>