OpenCloudOS-Kernel/drivers/media/platform/coda
Philipp Zabel 02d76a4719 media: coda: avoid hardware lockups with more than 13 capture buffers
When decoding using the CODA internal rotator (for example NV12
capture), currently the value vb2_buf.index + CODA_MAX_FRAMEBUFFERS (19)
is written into the DEC_PIC_ROT_INDEX register. At least with firmware
version 3.1.1 this causes CODA hangups as soon as the register value
reaches 32. Instead, always write CODA_MAX_FRAMEBUFFERS.

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>
2019-12-16 10:09:12 +01:00
..
Makefile
coda-bit.c media: coda: avoid hardware lockups with more than 13 capture buffers 2019-12-16 10:09:12 +01:00
coda-common.c media: coda: remove redundant platform_get_irq error message 2019-12-16 10:08:29 +01:00
coda-gdi.c
coda-h264.c
coda-jpeg.c media: coda: jpeg: add CODA960 JPEG encoder support 2019-12-16 10:07:59 +01: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: jpeg: add CODA960 JPEG encoder support 2019-12-16 10:07:59 +01:00
coda_regs.h media: coda: jpeg: add JPEG register definitions for CODA960 2019-12-16 10:04:21 +01:00
imx-vdoa.c
imx-vdoa.h
trace.h media: coda: jpeg: add CODA960 JPEG encoder support 2019-12-16 10:07:59 +01:00