[PATCHv2 42/45] drm: omapdrm: add omap_atomic_wait_for_gos()

2015-06-08 Thread Tomi Valkeinen
On 06/06/15 07:10, Laurent Pinchart wrote: > Hi Tomi, > > Thank you for the patch. > > On Thursday 04 June 2015 12:02:59 Tomi Valkeinen wrote: >> omap_atomic_complete() uses drm_atomic_helper_wait_for_vblanks() to wait >> for all operations to finish. That works, but can easily cause waits for

[PATCHv2 42/45] drm: omapdrm: add omap_atomic_wait_for_gos()

2015-06-06 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Thursday 04 June 2015 12:02:59 Tomi Valkeinen wrote: > omap_atomic_complete() uses drm_atomic_helper_wait_for_vblanks() to wait > for all operations to finish. That works, but can easily cause waits for > vblanks when no wait is actually necessary. It actuall

[PATCHv2 42/45] drm: omapdrm: add omap_atomic_wait_for_gos()

2015-06-04 Thread Tomi Valkeinen
omap_atomic_complete() uses drm_atomic_helper_wait_for_vblanks() to wait for all operations to finish. That works, but can easily cause waits for vblanks when no wait is actually necessary. This patch adds omap_atomic_wait_for_gos() and uses it instead. omap_atomic_wait_for_gos() waits for the GO