From: Frank Li <Frank.li@oss.nxp.com>
To: Nas Chung <nas.chung@chipsnmedia.com>
Cc: "mchehab@kernel.org" <mchehab@kernel.org>,
"hverkuil@xs4all.nl" <hverkuil@xs4all.nl>,
"robh@kernel.org" <robh@kernel.org>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"shawnguo@kernel.org" <shawnguo@kernel.org>,
"s.hauer@pengutronix.de" <s.hauer@pengutronix.de>,
"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-imx@nxp.com" <linux-imx@nxp.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"jackson.lee" <jackson.lee@chipsnmedia.com>,
"lafley.kim" <lafley.kim@chipsnmedia.com>,
"marek.vasut@mailbox.org" <marek.vasut@mailbox.org>,
Ming Qian <ming.qian@oss.nxp.com>
Subject: Re: [PATCH v7 6/9] media: chips-media: wave6: Improve debugging capabilities
Date: Thu, 10 Sep 2026 12:16:24 -0400 [thread overview]
Message-ID: <aqLX2DhQFnY3FAFz@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <SL2P216MB24417ACC2BD099E4A5EE1399FBBF2@SL2P216MB2441.KORP216.PROD.OUTLOOK.COM>
On Thu, Sep 10, 2026 at 04:38:27AM +0000, Nas Chung wrote:
> Hi, Frank.
>
> >-----Original Message-----
> >From: Frank Li <Frank.li@oss.nxp.com>
> >Sent: Thursday, September 10, 2026 5:41 AM
> >To: Nas Chung <nas.chung@chipsnmedia.com>
> >Cc: mchehab@kernel.org; hverkuil@xs4all.nl; robh@kernel.org;
> >krzk+dt@kernel.org; conor+dt@kernel.org; shawnguo@kernel.org;
> >s.hauer@pengutronix.de; linux-media@vger.kernel.org;
> >devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; linux-imx@nxp.com;
> >linux-arm-kernel@lists.infradead.org; jackson.lee
> ><jackson.lee@chipsnmedia.com>; lafley.kim <lafley.kim@chipsnmedia.com>;
> >marek.vasut@mailbox.org; Ming Qian <ming.qian@oss.nxp.com>
> >Subject: Re: [PATCH v7 6/9] media: chips-media: wave6: Improve debugging
> >capabilities
> >
> >On Fri, Sep 04, 2026 at 03:46:32PM +0900, Nas Chung wrote:
> >
> >media: chips-media: wave6: Add trace and debugfs
>
> I'll address this in v8.
>
> >
> >> Add debugfs entries and trace events to provide detailed
> >> debugging information.
> >
> >Nit: need extra space line here.
>
> OK.
>
> >
> >> These enhancements help diagnose issues and improve debugging
> >
> >Remove "These enhancements".
>
> I'll remove it.
>
> ...
>
> >
> >> +
> >> +#ifndef __WAVE6_VPU_DBG_H__
> >> +#define __WAVE6_VPU_DBG_H__
> >> +
> >> +int wave6_vpu_create_dbgfs_file(struct vpu_instance *inst);
> >> +void wave6_vpu_remove_dbgfs_file(struct vpu_instance *inst);
> >
> >You add this patch 6. but call this funcation at patch 4.
> >
> >You need make sure each patch can build without break bisect.
>
> You are right that patch 4 calls what patch 6 declares.
>
> But the build does not break: wave6/Kconfig and wave6/Makefile are added in
> patch 8, so nothing under wave6/ is compiled in patches 3-7. I built every
> commit individually.
Still not good yet, you can add call wave6_vpu_create_dbgfs_file() at
patch 6, instead of patch4.
You need make sure your code is built and passed at every patch. You
can add library/makefile firstly, then enable it gradulately. But need make
sure pass build test, some kernel CI tools build each patch and easy to
locate the problem, if build failure at last patch, which cause some
difficult to locate the real patch, which cause problem.
Frank
>
> Thanks.
> Nas.
>
> >
> >Frank
> >
> >> +
> >> +#endif /* __WAVE6_VPU_DBG_H__ */
> >> --
> >> 2.31.1
> >>
next prev parent reply other threads:[~2026-09-10 16:16 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-04 6:46 [PATCH v7 0/9] Add support for Wave6 video codec driver Nas Chung
2026-09-04 6:46 ` [PATCH v7 1/9] media: v4l2-common: Fix P010 format info Nas Chung
2026-09-04 6:46 ` [PATCH v7 2/9] dt-bindings: media: nxp: Add Wave6 video codec device Nas Chung
2026-09-08 9:50 ` Krzysztof Kozlowski
2026-09-09 16:33 ` Frank Li
2026-09-04 6:46 ` [PATCH v7 5/9] media: chips-media: wave6: Add Wave6 core driver Nas Chung
2026-09-10 20:48 ` Frank Li
2026-09-11 8:35 ` Nas Chung
2026-09-04 6:46 ` [PATCH v7 6/9] media: chips-media: wave6: Improve debugging capabilities Nas Chung
2026-09-09 20:40 ` Frank Li
2026-09-10 4:38 ` Nas Chung
2026-09-10 16:16 ` Frank Li [this message]
2026-09-11 3:53 ` Nas Chung
2026-09-04 6:46 ` [PATCH v7 7/9] media: chips-media: wave6: Add Wave6 thermal cooling device Nas Chung
2026-09-04 6:46 ` [PATCH v7 8/9] media: chips-media: wave6: Add Wave6 control driver Nas Chung
2026-09-10 21:04 ` Frank Li
2026-09-11 7:07 ` Nas Chung
2026-09-04 6:46 ` [PATCH v7 9/9] arm64: dts: freescale: imx95: Add video codec node Nas Chung
[not found] ` <39115ce2f3d9cc18350cddc650b7cb40317e5ef3.1788496816.git.nas.chung@chipsnmedia.com>
2026-09-09 19:49 ` [PATCH v7 3/9] media: chips-media: wave6: Add Wave6 VPU interface Frank Li
2026-09-10 8:14 ` Nas Chung
2026-09-10 20:00 ` [PATCH v7 0/9] Add support for Wave6 video codec driver Frank Li
2026-09-11 6:58 ` Nas Chung
[not found] ` <235b2de7057182d619a361dffc247f1c1f438a3c.1788496816.git.nas.chung@chipsnmedia.com>
2026-09-10 20:37 ` [PATCH v7 4/9] media: chips-media: wave6: Add v4l2 m2m driver support Frank Li
2026-09-11 7:12 ` Nas Chung
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=aqLX2DhQFnY3FAFz@lizhi-Precision-Tower-5810 \
--to=frank.li@oss.nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil@xs4all.nl \
--cc=jackson.lee@chipsnmedia.com \
--cc=krzk+dt@kernel.org \
--cc=lafley.kim@chipsnmedia.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=marek.vasut@mailbox.org \
--cc=mchehab@kernel.org \
--cc=ming.qian@oss.nxp.com \
--cc=nas.chung@chipsnmedia.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.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