Re: [Intel-gfx] [PATCH] drm/i915: Extend LRC pinning to cover GPU context writeback

2015-12-03 Thread Daniel Vetter
On Wed, Dec 02, 2015 at 05:02:07PM -0800, Yu Dai wrote: > I tested this with GuC submission enabled and it fixes the issue I found > during GPU reset. > > Reviewed-by: Alex Dai Queued for -next, thanks for the patch. -Daniel > > On 12/01/2015 06:48 AM, Nick Hoath wrote: > >Use the first retire

Re: [Intel-gfx] [PATCH] drm/i915: Extend LRC pinning to cover GPU context writeback

2015-12-02 Thread Yu Dai
I tested this with GuC submission enabled and it fixes the issue I found during GPU reset. Reviewed-by: Alex Dai On 12/01/2015 06:48 AM, Nick Hoath wrote: Use the first retired request on a new context to unpin the old context. This ensures that the hw context remains bound until it has been

[Intel-gfx] [PATCH] drm/i915: Extend LRC pinning to cover GPU context writeback

2015-12-01 Thread Nick Hoath
Use the first retired request on a new context to unpin the old context. This ensures that the hw context remains bound until it has been written back to by the GPU. Now that the context is pinned until later in the request/context lifecycle, it no longer needs to be pinned from context_queue to re