[PATCH 10/27] drm/atomic-helper: nonblocking commit support

2016-06-08 Thread Daniel Vetter
On Wed, Jun 8, 2016 at 6:19 PM, Daniel Vetter wrote: > But the main one is kms_flip - this is one shockingly nasty testcase ;-) Also note that kms_flip wasn't just run on i915, but also on other drivers in this conversion (not all iirc), thanks to collabora's work to port igt testcase to generic

[PATCH 10/27] drm/atomic-helper: nonblocking commit support

2016-06-08 Thread Daniel Vetter
On Wed, Jun 8, 2016 at 5:54 PM, Chris Wilson wrote: > > On Wed, Jun 08, 2016 at 05:05:04PM +0200, Daniel Vetter wrote: >> On Wed, Jun 08, 2016 at 04:44:24PM +0200, Maarten Lankhorst wrote: >> > Op 08-06-16 om 14:19 schreef Daniel Vetter: >> > > Once that's done stall can be set to false in swap

[PATCH 10/27] drm/atomic-helper: nonblocking commit support

2016-06-08 Thread Daniel Vetter
On Wed, Jun 08, 2016 at 04:44:24PM +0200, Maarten Lankhorst wrote: > Op 08-06-16 om 14:19 schreef Daniel Vetter: > > Design ideas: > > > > - split up the actual commit into different phases, and have > > completions for each of them. This will be useful for the future > > when we want to interl

[PATCH 10/27] drm/atomic-helper: nonblocking commit support

2016-06-08 Thread Chris Wilson
On Wed, Jun 08, 2016 at 05:05:04PM +0200, Daniel Vetter wrote: > On Wed, Jun 08, 2016 at 04:44:24PM +0200, Maarten Lankhorst wrote: > > Op 08-06-16 om 14:19 schreef Daniel Vetter: > > > Once that's done stall can be set to false in swap_states. > > > > > > Features: Contains bugs because totally

[PATCH 10/27] drm/atomic-helper: nonblocking commit support

2016-06-08 Thread Maarten Lankhorst
Op 08-06-16 om 14:19 schreef Daniel Vetter: > Design ideas: > > - split up the actual commit into different phases, and have > completions for each of them. This will be useful for the future > when we want to interleave phases much more aggressively, for e.g. > queue depth > 1. For not it's

[PATCH 10/27] drm/atomic-helper: nonblocking commit support

2016-06-08 Thread Daniel Vetter
Design ideas: - split up the actual commit into different phases, and have completions for each of them. This will be useful for the future when we want to interleave phases much more aggressively, for e.g. queue depth > 1. For not it's just a minimal optimization compared to current commo