mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 13:14:02 +02:00
media: nxp: imx8-isi: Correct color map between V4L2 and ISI
Fix the ISI input format for the color map V4L2_PIX_FMT_XBGR32 in
memory-to-memory mode.
Fixes: cf21f328fc ("media: nxp: Add i.MX8 ISI driver")
Cc: stable@vger.kernel.org
Signed-off-by: Guoniu Zhou <guoniu.zhou@oss.nxp.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260720-isi-v2-5-45845bc5d4fa@oss.nxp.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
162a2a2de6
commit
4640ec1cb0
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user