Re: [Intel-gfx] [PATCH] drm/i915: Use GEM suspend when aborting initialisation

2018-06-07 Thread Chris Wilson
Quoting Michał Winiarski (2018-06-07 08:39:39) > On Wed, Jun 06, 2018 at 03:54:41PM +0100, Chris Wilson wrote: > > As part of our GEM initialisation now, we send a request to the hardware > > in order to record the initial GPU state. This coupled with deferred > > idle workers, makes aborting on

Re: [Intel-gfx] [PATCH] drm/i915: Use GEM suspend when aborting initialisation

2018-06-07 Thread Michał Winiarski
On Wed, Jun 06, 2018 at 03:54:41PM +0100, Chris Wilson wrote: > As part of our GEM initialisation now, we send a request to the hardware > in order to record the initial GPU state. This coupled with deferred > idle workers, makes aborting on error tricky. We already have the > mechanism in place

[Intel-gfx] [PATCH] drm/i915: Use GEM suspend when aborting initialisation

2018-06-06 Thread Chris Wilson
As part of our GEM initialisation now, we send a request to the hardware in order to record the initial GPU state. This coupled with deferred idle workers, makes aborting on error tricky. We already have the mechanism in place to wait on the GPU and cancel all the deferred workers for suspend, so