Re: [Intel-gfx] [PATCH] drm/i915: Reset last_retired_head when resetting ring

2012-05-29 Thread Daniel Vetter
On Mon, May 28, 2012 at 10:33:02PM +0100, Chris Wilson wrote: > When we reset the ring control registers, including the HEAD and TAIL of > the ring, we also need to reset associated state. In this instance, we > were failing to reset the cached value of ring->last_retired_head and so > upon the fir

[Intel-gfx] [PATCH] drm/i915: Reset last_retired_head when resetting ring

2012-05-28 Thread Chris Wilson
When we reset the ring control registers, including the HEAD and TAIL of the ring, we also need to reset associated state. In this instance, we were failing to reset the cached value of ring->last_retired_head and so upon the first request for more space following a resume would potentially (depend