From: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
To: Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
Robert Foss <rfoss@kernel.org>, Todor Tomov <todor.too@gmail.com>,
Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org,
linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH v7 3/3] media: qcom: camss: tpg: Add TPG support for multiple targets
Date: Tue, 13 Jan 2026 14:01:20 +0800 [thread overview]
Message-ID: <e93f95e7-59ec-405a-aa05-df78ad86be9b@oss.qualcomm.com> (raw)
In-Reply-To: <250743e3-66d8-4a39-a487-947ae1c831b8@linaro.org>
On 1/12/2026 11:43 PM, Bryan O'Donoghue wrote:
> On 26/12/2025 09:19, Wenmeng Liu wrote:
>> Add support for TPG found on LeMans, Monaco, Hamoa.
>>
>> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
>> ---
>> drivers/media/platform/qcom/camss/Makefile | 1 +
>> drivers/media/platform/qcom/camss/camss-csid-680.c | 16 ++
>> .../media/platform/qcom/camss/camss-csid-gen3.c | 16 ++
>> drivers/media/platform/qcom/camss/camss-tpg-gen1.c | 257 +++++++++++
>> ++++++++++
>> drivers/media/platform/qcom/camss/camss.c | 128 ++++++++++
>> 5 files changed, 418 insertions(+)
> This is causing a regression on Hamoa.
>
> Did you check the camera itself still streams ? For me, camera streaming
> breaks when this patch is applied.
>
> Please look into this.
>
> ➞ git bisect good
> [git:60c1b50b1f2f5] ✖
> 9d1d90cca34ca66617ade951d42c94d5f086717f is the first bad commit
> commit 9d1d90cca34ca66617ade951d42c94d5f086717f
> Author: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
> Date: Fri Dec 26 17:19:12 2025 +0800
>
> media: qcom: camss: tpg: Add TPG support for multiple targets
>
> Add support for TPG found on LeMans, Monaco, Hamoa.
>
> Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
> Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
>
> drivers/media/platform/qcom/camss/Makefile | 1 +
> drivers/media/platform/qcom/camss/camss-csid-680.c | 16 ++++++++
> drivers/media/platform/qcom/camss/camss-csid-gen3.c | 16 ++++++++
> drivers/media/platform/qcom/camss/camss-tpg-gen1.c | 257 ++++++++++++
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++++++++++++++++++++++++++++++++++++++++
> drivers/media/platform/qcom/camss/camss.c | 128 ++++++++++++
> ++++++++++++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 418 insertions(+)
> create mode 100644 drivers/media/platform/qcom/camss/camss-tpg-gen1.c
>
> ➞ git bisect log
> [git:60c1b50b1f2f5] ✖
> git bisect start
> # status: waiting for both good and bad commits
> # bad: [2ae8c3645005e9115f39e8aa61dea9ea48cc356e] media: qcom: camss:
> add support for SM6150 camss
>
> git bisect bad 2ae8c3645005e9115f39e8aa61dea9ea48cc356e
> # status: waiting for good commit(s), bad commit known
> # good: [f89c11002f67740aaed818137d513d6c3dbc348a] dt-bindings: media:
> qcom,x1e80100-camss: Add missing regs, clocks, iommus
>
> git bisect good f89c11002f67740aaed818137d513d6c3dbc348a
> # good: [18f74c5866cb470123eb0b39cf3248a09fab3ef9] media: qcom: camss:
> Add common TPG support
>
> git bisect good 18f74c5866cb470123eb0b39cf3248a09fab3ef9
> # bad: [9aaf62e09bb1bb17c186addc49984343623df50e] media: qcom: camss:
> csid-340: Fix unused variables
>
> git bisect bad 9aaf62e09bb1bb17c186addc49984343623df50e
> # bad: [9d1d90cca34ca66617ade951d42c94d5f086717f] media: qcom: camss:
> tpg: Add TPG support for multiple targets
>
> git bisect bad 9d1d90cca34ca66617ade951d42c94d5f086717f
> # good: [60c1b50b1f2f5466c07aeb4148df25227b5f6d55] media: qcom: camss:
> Add link support for TPG
>
> git bisect good 60c1b50b1f2f5466c07aeb4148df25227b5f6d55
> # first bad commit: [9d1d90cca34ca66617ade951d42c94d5f086717f] media:
> qcom: camss: tpg: Add TPG support for multiple targets
>
> ---
> bod
The actual result of CSI2_RX_CFG0_TPG_NUM_SEL | CSI2_RX_CFG0_TPG_NUM_EN
is 28 | 27 = 31, which is just an integer rather than a mask.
Sorry for lack this error code fix. will fix it in next version.
Thanks,
Wenmeng
prev parent reply other threads:[~2026-01-13 6:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-26 9:19 [PATCH v7 0/3] media: qcom: camss: Add camss " Wenmeng Liu
2025-12-26 9:19 ` [PATCH v7 1/3] media: qcom: camss: Add common TPG support Wenmeng Liu
2025-12-26 9:19 ` [PATCH v7 2/3] media: qcom: camss: Add link support for TPG Wenmeng Liu
2025-12-26 9:19 ` [PATCH v7 3/3] media: qcom: camss: tpg: Add TPG support for multiple targets Wenmeng Liu
2026-01-12 15:43 ` Bryan O'Donoghue
2026-01-13 6:01 ` Wenmeng Liu [this message]
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=e93f95e7-59ec-405a-aa05-df78ad86be9b@oss.qualcomm.com \
--to=wenmeng.liu@oss.qualcomm.com \
--cc=bryan.odonoghue@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=rfoss@kernel.org \
--cc=todor.too@gmail.com \
--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®