linux-brain/drivers/media/platform/coda
Philipp Zabel a96eb96ce4 media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats
[ Upstream commit 44693d74f5653f82cd7ca0fe730eed0f6b83306a ]

The frame memory control register value is currently determined
before userspace selects the final capture format and never corrected.
Update ctx->frame_mem_ctrl in __coda_start_decoding() to fix decoding
into YUV420 or YVU420 capture buffers.

Reported-by: Andrej Picej <andrej.picej@norik.com>
Fixes: 497e6b8559 ("media: coda: add sequence initialization work")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-15 09:47:31 +02:00
..
coda_regs.h media: coda: encoder parameter change support 2019-06-24 14:48:33 -04:00
coda-bit.c media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats 2021-09-15 09:47:31 +02:00
coda-common.c media: coda: fix deadlock between decoder picture run and start command 2020-01-17 19:48:57 +01:00
coda-gdi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
coda-h264.c Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
coda-jpeg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
coda-mpeg2.c media: coda: pad first buffer with repeated MPEG headers to fix sequence init 2019-06-24 14:30:59 -04:00
coda-mpeg4.c media: coda: pad first buffer with repeated MPEG headers to fix sequence init 2019-06-24 14:30:59 -04:00
coda.h media: coda: encoder parameter change support 2019-06-24 14:48:33 -04:00
imx-vdoa.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
imx-vdoa.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
Makefile media: drivers: media: coda: fix warning same module names 2019-06-12 10:45:05 -04:00
trace.h media: coda: remove -I$(src) header search path 2019-05-23 12:04:00 -04:00