]> git.baikalelectronics.ru Git - kernel.git/commit
media: coda: jpeg: only queue two buffers into the bitstream for JPEG on CODA7541
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 29 Jun 2018 12:46:47 +0000 (08:46 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 4 Jul 2018 12:23:24 +0000 (08:23 -0400)
commita8161e9d3220c00380f36391c13d9827a1551822
treeab985588a0df56c9f72960439176957cd3365414
parent724be5167aba3724aa10b1b3bafca6a1a30dbabd
media: coda: jpeg: only queue two buffers into the bitstream for JPEG on CODA7541

Padding the bitstream buffer is not enough to reliably avoid prefetch
failures.  Picture runs with the next buffer's header already visible to
the CODA7541 succeed much more reliably, so always queue two JPEG frames
into the bitstream buffer.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/coda/coda-bit.c