Re: [Intel-gfx] [PATCH] drm/i915: Reorder ring reinitialisation round reset

2013-06-12 Thread Ben Widawsky
On Wed, Jun 12, 2013 at 11:42:56PM +0100, Chris Wilson wrote: > On Wed, Jun 12, 2013 at 02:15:48PM -0700, Ben Widawsky wrote: > > On Mon, Jun 10, 2013 at 01:54:50PM +0100, Chris Wilson wrote: > > > In particular, we were reseting our GEM tracking before even attempting > > > (and failing) to reset

Re: [Intel-gfx] [PATCH] drm/i915: Reorder ring reinitialisation round reset

2013-06-12 Thread Chris Wilson
On Wed, Jun 12, 2013 at 02:15:48PM -0700, Ben Widawsky wrote: > On Mon, Jun 10, 2013 at 01:54:50PM +0100, Chris Wilson wrote: > > In particular, we were reseting our GEM tracking before even attempting > > (and failing) to reset the chip. Do it with the other bookkeeping after > > successfully rese

Re: [Intel-gfx] [PATCH] drm/i915: Reorder ring reinitialisation round reset

2013-06-12 Thread Ben Widawsky
On Mon, Jun 10, 2013 at 01:54:50PM +0100, Chris Wilson wrote: > In particular, we were reseting our GEM tracking before even attempting > (and failing) to reset the chip. Do it with the other bookkeeping after > successfully reseting. Note that we can simplify the reset to always do > the GPU reini

[Intel-gfx] [PATCH] drm/i915: Reorder ring reinitialisation round reset

2013-06-10 Thread Chris Wilson
In particular, we were reseting our GEM tracking before even attempting (and failing) to reset the chip. Do it with the other bookkeeping after successfully reseting. Note that we can simplify the reset to always do the GPU reinitialisation as for UMS it will simply be redundant in the case where X