mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Gjorgji Rosikopulos (Consultant)" <gjorgji.rosikopulos@oss.qualcomm.com>
To: Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org
Cc: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
	Loic Poulain <loic.poulain@oss.qualcomm.com>,
	linux-kernel@vger.kernel.org,
	Hitesh Patel <hitesh@ebytelogic.com>,
	Atanas Filipov <atanas.filipov@oss.qualcomm.com>,
	Jigarkumar Zala <jigarkumar.zala@oss.qualcomm.com>
Subject: Re: [PATCH v2 03/12] media: qcom: camss: Add streams enable field to camss resources
Date: Wed, 25 Nov 2026 19:09:44 +0200	[thread overview]
Message-ID: <f255486c-d4bf-4076-8fb8-7c6caccfdfd0@oss.qualcomm.com> (raw)
In-Reply-To: <20261125080001.2540101-4-gjorgji.rosikopulos@oss.qualcomm.com>



On 11/25/2026 9:59 AM, "Gjorgji Rosikopulos gjorgji.rosikopulos"@oss.qualcomm.com wrote:
> From: Gjorgji Rosikopulos <gjorgji.rosikopulos@oss.qualcomm.com>
> 
> Add a per-SoC streams_enable field to struct camss_resources, used by
> subsequent subdevices to select between the legacy s_stream()-based
> pipeline and the V4L2 subdev streams API.
> 
> Suggested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
> Signed-off-by: Gjorgji Rosikopulos <gjorgji.rosikopulos@oss.qualcomm.com>
> ---
>  drivers/media/platform/qcom/camss/camss.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/media/platform/qcom/camss/camss.h b/drivers/media/platform/qcom/camss/camss.h
> index 7564a7c46fa2..621ea2e3eba1 100644
> --- a/drivers/media/platform/qcom/camss/camss.h
> +++ b/drivers/media/platform/qcom/camss/camss.h
> @@ -121,6 +121,7 @@ struct camss_resources {
>  	const unsigned int tpg_num;
>  	const unsigned int csid_num;
>  	const unsigned int vfe_num;
> +	const bool streams_enable;

If all agree i plan to drop streams_enable and use stream api as default, v4l2_core handles
compatibility with non-stream api so i think we should be fine. Just that we need to verify
on all the supported hw's.
Keeping old non-streams and streams in parallel in sub-devices implementations really adds
complexity and duplication of the code which is general.

~Gjorgji


>  };
>  
>  struct camss {


  reply	other threads:[~2026-11-25 17:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25  7:59 [PATCH v2 00/12] media: qcom: camss: add V4L2 subdev streams API support Gjorgji.Rosikopulos.gjorgji.rosikopulos
2026-11-25  7:59 ` [PATCH v2 01/12] media: qcom: camss: csid_gen3: Fix multi-VC buf-done IRQ mask Gjorgji.Rosikopulos.gjorgji.rosikopulos
2026-11-25  7:59 ` [PATCH v2 02/12] media: qcom: camss: Add csid pad to port helper Gjorgji.Rosikopulos.gjorgji.rosikopulos
2026-11-25  7:59 ` [PATCH v2 03/12] media: qcom: camss: Add streams enable field to camss resources Gjorgji.Rosikopulos.gjorgji.rosikopulos
2026-11-25 17:09   ` Gjorgji Rosikopulos (Consultant) [this message]
2026-11-25  7:59 ` [PATCH v2 04/12] media: qcom: camss: Add streams API support for CSIPHY Gjorgji.Rosikopulos.gjorgji.rosikopulos
2026-11-25  7:59 ` [PATCH v2 05/12] media: qcom: camss: Add per-port config to CSID configure_stream Gjorgji.Rosikopulos.gjorgji.rosikopulos
2026-11-25  7:59 ` [PATCH v2 06/12] media: qcom: camss: Add streams API support in CSID subdevice Gjorgji.Rosikopulos.gjorgji.rosikopulos
2026-11-25  7:59 ` [PATCH v2 07/12] media: qcom: camss: Add streams API support in tpg subdev Gjorgji.Rosikopulos.gjorgji.rosikopulos
2026-11-25  7:59 ` [PATCH v2 08/12] media: qcom: camss: Add streams API support for VFE Gjorgji.Rosikopulos.gjorgji.rosikopulos
2026-11-25  7:59 ` [PATCH v2 09/12] media: qcom: camss: Add streams API support in camss-video Gjorgji.Rosikopulos.gjorgji.rosikopulos
2026-11-25  7:59 ` [PATCH v2 10/12] media: qcom: camss: Enable streams API on SM8250 Gjorgji.Rosikopulos.gjorgji.rosikopulos
2026-11-25  8:00 ` [PATCH v2 11/12] media: qcom: camss: Enable streams API on SA8775P Gjorgji.Rosikopulos.gjorgji.rosikopulos
2026-11-25  8:00 ` [PATCH v2 12/12] media: qcom: camss: Enable streams API on SC7280 Gjorgji.Rosikopulos.gjorgji.rosikopulos
2026-11-25 17:27 ` [PATCH v2 00/12] media: qcom: camss: add V4L2 subdev streams API support Gjorgji Rosikopulos (Consultant)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f255486c-d4bf-4076-8fb8-7c6caccfdfd0@oss.qualcomm.com \
    --to=gjorgji.rosikopulos@oss.qualcomm.com \
    --cc=atanas.filipov@oss.qualcomm.com \
    --cc=bryan.odonoghue@linaro.org \
    --cc=hitesh@ebytelogic.com \
    --cc=jigarkumar.zala@oss.qualcomm.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=loic.poulain@oss.qualcomm.com \
    --cc=mchehab@kernel.org \
    --cc=vladimir.zapolskiy@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®