[PATCH v2 5/6] media: nxp: imx8-isi: Correct color map between V4L2 and ISI

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Jul 20 16:18:12 PDT 2026


On Mon, Jul 20, 2026 at 08:40:04PM +0300, Laurent Pinchart wrote:
> On Mon, Jul 20, 2026 at 11:34:07AM +0800, Guoniu Zhou wrote:
> > Fix the ISI input format for the color map V4L2_PIX_FMT_XBGR32 in
> > memory-to-memory mode.
> > 
> > Fixes: cf21f328fcaf ("media: nxp: Add i.MX8 ISI driver")
> > Cc: stable at vger.kernel.org
> > Signed-off-by: Guoniu Zhou <guoniu.zhou at oss.nxp.com>
> 
> Tentatively,
> 
> Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> 
> I'm running a build to test this change.

Tested-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

> > ---
> > Changes in v2:
> > - Reword commit description for clarity (Frank Li)
> > ---
> >  drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c b/drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c
> > index 5eb448f4c26f..05b51b98344b 100644
> > --- a/drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c
> > +++ b/drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c
> > @@ -151,7 +151,7 @@ static const struct mxc_isi_format_info mxc_isi_formats[] = {
> >  		.fourcc		= V4L2_PIX_FMT_XBGR32,
> >  		.type		= MXC_ISI_VIDEO_CAP | MXC_ISI_VIDEO_M2M_OUT
> >  				| MXC_ISI_VIDEO_M2M_CAP,
> > -		.isi_in_format	= CHNL_MEM_RD_CTRL_IMG_TYPE_XBGR8,
> > +		.isi_in_format	= CHNL_MEM_RD_CTRL_IMG_TYPE_XRGB8,
> >  		.isi_out_format	= CHNL_IMG_CTRL_FORMAT_XRGB888,
> >  		.mem_planes	= 1,
> >  		.color_planes	= 1,

-- 
Regards,

Laurent Pinchart



More information about the linux-arm-kernel mailing list