media: coda: fix decoder capture buffer payload
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 8 Jan 2019 17:20:43 +0000 (15:20 -0200)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 21 Jan 2019 17:47:50 +0000 (15:47 -0200)
commitcd9f125cfaa5047899e1d39d6fc0a9ed5e40afa7
tree2e93cf25043fa7b94f27b3ac4b690d8f0975adac
parentfbf9aa6aeaebb10afb9d4fca013c4823ae0b5101
media: coda: fix decoder capture buffer payload

It is not correct to calculate decoder capture payload dynamically from
the decoded frame width and height reported by the firmware. These tell
us what the decoder wrote into the internal framebuffers. The rotator or
VDOA always write the full sizeimage when copying the previously decoded
frame from the internal framebuffers into the capture queue.

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+samsung@kernel.org>
drivers/media/platform/coda/coda-bit.c