[PATCH 09/20] s5p-g2d: Implement wait_prepare and wait_finish

2018-05-24 Thread Ezequiel Garcia
This driver is currently specifying a vb2_queue lock, which means it straightforward to implement wait_prepare and wait_finish. Having these callbacks releases the queue lock while blocking, which improves latency by allowing for example streamoff or qbuf operations while waiting in dqbuf. Signed

[PATCH 09/20] s5p-g2d: Implement wait_prepare and wait_finish

2018-05-18 Thread Ezequiel Garcia
This driver is currently specifying a vb2_queue lock, which means it straightforward to implement wait_prepare and wait_finish. Having these callbacks releases the queue lock while blocking, which improves latency by allowing for example streamoff or qbuf operations while waiting in dqbuf. Signed