diff options
author | Nikhil Devshatwar <nikhil.nd@ti.com> | 2016-11-19 02:20:16 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-22 11:58:17 +0300 |
commit | 5dc07f20b67dc30ea2f7988eb76d2231a40a97bc (patch) | |
tree | 37b063c85708654c82f06a649efcabe5172cc4f9 /fs/iomap.c | |
parent | 15f632e665653da078a121f8478586f09dd56b4d (diff) | |
download | linux-5dc07f20b67dc30ea2f7988eb76d2231a40a97bc.tar.xz |
[media] media: ti-vpe: vpe: Do not perform job transaction atomically
Current VPE driver does not start the job until all the buffers for
a transaction are queued. When running in multiple context, this might
increase the processing latency.
Alternate solution would be to try to continue the same context as long as
buffers for the transaction are ready; else switch the context. This may
increase number of context switches but it reduces latency significantly.
In this approach, the job_ready always succeeds as long as there are
buffers on the CAPTURE and OUTPUT stream. Processing may start immediately
as the first 2 iterations don't need extra source buffers. Shift all the
source buffers after each iteration and remove the oldest buffer.
Also, with this removes the constraint of pre buffering 3 buffers before
call to STREAMON in case of de-interlacing.
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'fs/iomap.c')
0 files changed, 0 insertions, 0 deletions