]> asedeno.scripts.mit.edu Git - linux.git/commit
media: coda: split decoder sequence initialization out of start decoding
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 18 Jun 2019 16:45:14 +0000 (12:45 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 24 Jun 2019 18:23:40 +0000 (14:23 -0400)
commit8e717396d87ec0a26ad6f72ba5697c850ed0b8f8
treeb26e3be4e00265ef2267dae3b7ea6b262b973695
parent7e5eaae0af2eccb7ac94eb3d958d4c052f960e7b
media: coda: split decoder sequence initialization out of start decoding

The sequence initialization already has to happen during the
initialization phase, after headers have been queued on the OUTPUT
queue. This means that sequence initialization has to be queued as
a work item from QBUF on the OUTPUT queue. The internal framebuffer
setup should be done later during VIDIOC_REQBUFS() on 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