]> git.baikalelectronics.ru Git - kernel.git/commit
media: coda: mark last returned frame
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 18 Jun 2019 16:45:32 +0000 (12:45 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 24 Jun 2019 18:45:53 +0000 (14:45 -0400)
commit078a06e5f1c52027bf56131d1c33b388ebb30639
tree7e070fb1e108868acb0f76a52078d654bf665102
parent5e399e51ebe691634ae78ea4eb4e3c15e3fbd6a6
media: coda: mark last returned frame

If reordering is not enabled, the last decoded frame has to be the last
returned buffer. Otherwise wait for the firmware to report no more
frame to display. In that case the return buffer is the last one as
well, and can be reported as such.

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