Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: "Milen Mitkov (Consultant)" <quic_mmitkov@quicinc.com>
To: Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
	"Azam Sadiq Pasha Kapatrala Syed" <akapatra@quicinc.com>,
	"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
	"linux-arm-msm@vger.kernel.org" <linux-arm-msm@vger.kernel.org>,
	Jigarkumar Zala <jzala@quicinc.com>,
	"todor.too@gmail.com" <todor.too@gmail.com>,
	"nicolas.dechesne@linaro.org" <nicolas.dechesne@linaro.org>
Cc: "agross@kernel.org" <agross@kernel.org>,
	"konrad.dybcio@somainline.org" <konrad.dybcio@somainline.org>,
	"mchehab@kernel.org" <mchehab@kernel.org>,
	Chandan Gera <cgera@qti.qualcomm.com>,
	Guru Chinnabhandar <gchinnab@quicinc.com>,
	Alireza Yasan <ayasan@qti.qualcomm.com>,
	"laurent.pinchart@ideasonboard.com" 
	<laurent.pinchart@ideasonboard.com>
Subject: Re: [PATCH v7 0/4] media: camss: sm8250: Virtual channels support for SM8250
Date: Mon, 3 Apr 2023 14:01:40 +0300	[thread overview]
Message-ID: <bd8db6b5-eab6-418f-529f-03a9b81f99c4@quicinc.com> (raw)
In-Reply-To: <d26dfea3-8438-6012-386c-91ec43e1db1d@linaro.org>


On 03/04/2023 12:36, Bryan O'Donoghue wrote:
> On 03/04/2023 10:20, Milen Mitkov (Consultant) wrote:
>>
>> On 03/04/2023 12:16, Bryan O'Donoghue wrote:
>>> On 03/04/2023 09:38, Milen Mitkov (Consultant) wrote:
>>>> On 31/03/2023 11:07, Bryan O'Donoghue wrote:
>>>>> On 31/03/2023 07:20, Azam Sadiq Pasha Kapatrala Syed wrote:
>>>>>> + Nico (Linaro)
>>>>>> Hi Team
>>>>>>
>>>>>> Would like to know if anything is pending form our end as we want 
>>>>>> to get the patches mainlined?
>>>>>>
>>>>>> Thanks,
>>>>>> Azam
>>>>>
>>>>> I'd like to get a clearer picture on this
>>>>>
>>>>> [   90.535909] qcom-camss ac6a000.camss: VFE HW Version = 2.0.1
>>>>> [   90.545756] qcom-camss ac6a000.camss: CSIPHY 3PH HW Version = 
>>>>> 0x40010000
>>>>> [   90.546358] qcom-camss ac6a000.camss: CSID HW Version = 2.0.1
>>>>> [   90.546365] qcom-camss ac6a000.camss: csid_link_setup: Enabled 
>>>>> CSID virtual channels mask 0x1
>>>>> [   90.547675] qcom-camss ac6a000.camss: csid_link_setup: Enabled 
>>>>> CSID virtual channels mask 0x0
>>>>>
>>>>> Using the IMX577 sensor on the RB5 we get his pretty odd virtual 
>>>>> channels mask.
>>>>>
>>>>> If userspace is sending this in, the question I have is why. 
>>>>> Surely with a sensor that doesn't have a VC there should be no 
>>>>> impact on user-space.
>>>>>
>>>>> ---
>>>>> bod
>>>>
>>>> Hey Bryan,
>>>>
>>>> what media-ctl commands are you using? I can't recreate this on my 
>>>> side. I am using this set of commands to test (with the default 
>>>> imx577 driver without any multiple virtual channels outputs) and am 
>>>> getting only the first message (virtual channels mask 0x1):
>>>>
>>>> media-ctl --reset
>>>> media-ctl -v -d /dev/media0 -V '"imx577 
>>>> '22-001a'":0[fmt:SRGGB10/4056x3040 field:none]'
>>>> media-ctl -V '"msm_csiphy2":0[fmt:SRGGB10/4056x3040]'
>>>> media-ctl -V '"msm_csid0":0[fmt:SRGGB10/4056x3040]'
>>>> media-ctl -V '"msm_vfe0_rdi0":0[fmt:SRGGB10/4056x3040]'
>>>> media-ctl -l '"msm_csiphy2":1->"msm_csid0":0[1]'
>>>> media-ctl -l '"msm_csid0":1->"msm_vfe0_rdi0":0[1]'
>>>>
>>>> yavta -B capture-mplane -c -I -n 5 -f SRGGB10P -s 4056x3040 -F 
>>>> /dev/video0
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Milen
>>>
>>> Its a dev_dbg() so "#define DEBUG 1" in 
>>> drivers/media/platform/qcom/camss/camss-csid.c
>>>
>>> ---
>>> bod
>>>
>> Yes, I enabled the dev_dbg(). I just see only one message with 
>> regards to the channels mask. Just this one:
>>
>> [   90.546365] qcom-camss ac6a000.camss: csid_link_setup: Enabled 
>> CSID virtual channels mask 0x1
>>
>> so I wonder if you're testing with a different set of media-ctl/yavta 
>> commands.
>
> No. I'm asking about how this _used_ to be.
>
> If the iteration through the masks went away - then why did it go away 
> ? libcamera version, a change you have made since - V5 I think it was 
> when we discussed this last ?
>
> ---
> bod
>
Hi Bryan,

no, the iteration through the mask didn't go away? The print shows up 
when the csid entity's source pad(s) enables the link to the ife sink 
pad(s). Maybe the client (libcamera?) decides to disable this link for 
some reason?

Regards,

Milen



  reply	other threads:[~2023-04-03 11:02 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-09  9:40 [PATCH v7 0/4] media: camss: sm8250: Virtual channels support for SM8250 quic_mmitkov
2022-12-09  9:40 ` [PATCH v7 1/4] media: camss: sm8250: Virtual channels for CSID quic_mmitkov
2022-12-09  9:40 ` [PATCH v7 2/4] media: camss: vfe: Reserve VFE lines on stream start and link to CSID quic_mmitkov
2022-12-09  9:40 ` [PATCH v7 3/4] media: camss: vfe-480: Multiple outputs support for SM8250 quic_mmitkov
2022-12-09  9:40 ` [PATCH v7 4/4] media: camss: sm8250: Pipeline starting and stopping for multiple virtual channels quic_mmitkov
2022-12-09 16:17 ` [PATCH v7 0/4] media: camss: sm8250: Virtual channels support for SM8250 Bryan O'Donoghue
2023-01-05  8:37   ` Milen Mitkov (Consultant)
2023-01-05 18:43     ` Bryan O'Donoghue
2023-01-06  9:49       ` Milen Mitkov (Consultant)
2023-01-08  2:53         ` Laurent Pinchart
2023-01-08  2:51 ` Laurent Pinchart
2023-01-08  2:54   ` Laurent Pinchart
2023-01-10 10:25     ` Milen Mitkov (Consultant)
2023-01-31  9:00 ` Milen Mitkov (Consultant)
2023-02-20 12:18   ` Milen Mitkov (Consultant)
2023-02-20 12:26     ` Bryan O'Donoghue
2023-02-21  8:44       ` Milen Mitkov (Consultant)
2023-03-31  6:20         ` Azam Sadiq Pasha Kapatrala Syed
2023-03-31  8:07           ` Bryan O'Donoghue
     [not found]             ` <7b3cb8a6-8306-f001-5701-af3b482421e9@quicinc.com>
2023-04-03  9:16               ` Bryan O'Donoghue
2023-04-03  9:20                 ` Milen Mitkov (Consultant)
2023-04-03  9:36                   ` Bryan O'Donoghue
2023-04-03 11:01                     ` Milen Mitkov (Consultant) [this message]
2023-04-03 12:10                       ` Bryan O'Donoghue
2023-04-03 12:16                         ` Milen Mitkov (Consultant)
2023-04-04  0:06                           ` Bryan O'Donoghue
     [not found] <458d2d7d-74bd-dcb0-6cb7-74fe6e527131@linaro.org>
     [not found] ` <c8420c54-4f2b-c259-c5c3-29078ac0c9e6@linaro.org>
2023-04-07 15:14   ` Azam Sadiq Pasha Kapatrala Syed

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=bd8db6b5-eab6-418f-529f-03a9b81f99c4@quicinc.com \
    --to=quic_mmitkov@quicinc.com \
    --cc=agross@kernel.org \
    --cc=akapatra@quicinc.com \
    --cc=ayasan@qti.qualcomm.com \
    --cc=bryan.odonoghue@linaro.org \
    --cc=cgera@qti.qualcomm.com \
    --cc=gchinnab@quicinc.com \
    --cc=jzala@quicinc.com \
    --cc=konrad.dybcio@somainline.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=nicolas.dechesne@linaro.org \
    --cc=todor.too@gmail.com \
    /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