[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<AS8PR04MB9080F441E168EFB3CE224C19FAC7A@AS8PR04MB9080.eurprd04.prod.outlook.com>
Date: Mon, 3 Nov 2025 06:01:53 +0000
From: "G.N. Zhou (OSS)" <guoniu.zhou@....nxp.com>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>, Frank Li
<frank.li@....com>
CC: "G.N. Zhou (OSS)" <guoniu.zhou@....nxp.com>, Mauro Carvalho Chehab
<mchehab@...nel.org>, Rob Herring <robh@...nel.org>, Krzysztof Kozlowski
<krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>, Shawn Guo
<shawnguo@...nel.org>, Sascha Hauer <s.hauer@...gutronix.de>, Pengutronix
Kernel Team <kernel@...gutronix.de>, Fabio Estevam <festevam@...il.com>,
"linux-media@...r.kernel.org" <linux-media@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"imx@...ts.linux.dev" <imx@...ts.linux.dev>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "G.N. Zhou" <guoniu.zhou@....com>
Subject: RE: [PATCH 2/3] media: nxp: imx8-isi: Keep the default value for
BLANK_PXL field
Hi Laurent,
> -----Original Message-----
> From: Laurent Pinchart <laurent.pinchart@...asonboard.com>
> Sent: Monday, October 27, 2025 6:12 AM
> To: Frank Li <frank.li@....com>
> Cc: G.N. Zhou (OSS) <guoniu.zhou@....nxp.com>; Mauro Carvalho Chehab
> <mchehab@...nel.org>; Rob Herring <robh@...nel.org>; Krzysztof Kozlowski
> <krzk+dt@...nel.org>; Conor Dooley <conor+dt@...nel.org>; Shawn Guo
> <shawnguo@...nel.org>; Sascha Hauer <s.hauer@...gutronix.de>;
> Pengutronix Kernel Team <kernel@...gutronix.de>; Fabio Estevam
> <festevam@...il.com>; linux-media@...r.kernel.org;
> devicetree@...r.kernel.org; imx@...ts.linux.dev; linux-arm-
> kernel@...ts.infradead.org; linux-kernel@...r.kernel.org; G.N. Zhou
> <guoniu.zhou@....com>
> Subject: Re: [PATCH 2/3] media: nxp: imx8-isi: Keep the default value for
> BLANK_PXL field
>
> On Fri, Oct 24, 2025 at 09:41:50AM -0400, Frank Li wrote:
> > On Fri, Oct 24, 2025 at 05:46:53PM +0800, Guoniu Zhou wrote:
> > > From: Guoniu Zhou <guoniu.zhou@....com>
> > >
> > > The field provides the value of the blank pixel to be inserted in
> > > the
> >
> > The field BLANK_PXL provides
> >
> > > image in case an overflow error occurs in the output buffers of the
> > > channel. Its default value is 0xff, so no need to set again.
> > >
> > > Besides, the field only exist in i.MX8QM/XP ISI version. Other
> > > versions like mscale series, remove the field since it won't send
> > > data to AXI bus
>
> What's the mscale series ? Is that i.MX 8M ?
Yes, will update the commit log to make it clear. Thanks for your review.
>
> > > when overflow error occurs and set the field as reserved. i.MX9
> > > series
> >
> > mark BLANK_PXL as reserved. i.MX9 series use it for other purposes.
> >
> > Reviewed-by: Frank Li <Frank.Li@....com>
> >
> > > use the field as other purposes.
> > >
> > > Signed-off-by: Guoniu Zhou <guoniu.zhou@....com>
>
> Reviewed-by: Laurent Pinchart <laurent.pinchart@...asonboard.com>
>
> > > ---
> > > drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c | 6 ++----
> > > 1 file changed, 2 insertions(+), 4 deletions(-)
> > >
> > > diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
> > > b/drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
> > > index
> > >
> 9225a7ac1c3ee7e42e64983982eb4b6c27e356fe..0187d4ab97e8e28fca9013f6
> 86
> > > 4a094e08f2c570 100644
> > > --- a/drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
> > > +++ b/drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c
> > > @@ -309,8 +309,8 @@ static void mxc_isi_channel_set_control(struct
> > > mxc_isi_pipe *pipe,
> > >
> > > val = mxc_isi_read(pipe, CHNL_CTRL);
> > > val &= ~(CHNL_CTRL_CHNL_BYPASS | CHNL_CTRL_CHAIN_BUF_MASK
> |
> > > - CHNL_CTRL_BLANK_PXL_MASK |
> CHNL_CTRL_SRC_TYPE_MASK |
> > > - CHNL_CTRL_MIPI_VC_ID_MASK |
> CHNL_CTRL_SRC_INPUT_MASK);
> > > + CHNL_CTRL_SRC_TYPE_MASK |
> CHNL_CTRL_MIPI_VC_ID_MASK |
> > > + CHNL_CTRL_SRC_INPUT_MASK);
> > >
> > > /*
> > > * If no scaling or color space conversion is needed, bypass the
> > > @@ -323,8 +323,6 @@ static void mxc_isi_channel_set_control(struct
> mxc_isi_pipe *pipe,
> > > if (pipe->chained)
> > > val |=
> CHNL_CTRL_CHAIN_BUF(CHNL_CTRL_CHAIN_BUF_2_CHAIN);
> > >
> > > - val |= CHNL_CTRL_BLANK_PXL(0xff);
> > > -
> > > /* Input source (including VC configuration for CSI-2) */
> > > if (input == MXC_ISI_INPUT_MEM) {
> > > /*
>
> --
> Regards,
>
> Laurent Pinchart
Powered by blists - more mailing lists