Re: [Intel-gfx] [RFC 03/21] drm/i915: Ensure OLS & PLR are always in sync

2014-10-20 Thread John Harrison
On 19/10/2014 13:32, Daniel Vetter wrote: On Mon, Oct 06, 2014 at 03:15:07PM +0100, john.c.harri...@intel.com wrote: From: John Harrison The new seqno alloction code pre-allocates a 'lazy' request structure and then tries to allocate the 'lazy' seqno. The seqno allocation can potential wrap ar

Re: [Intel-gfx] [RFC 03/21] drm/i915: Ensure OLS & PLR are always in sync

2014-10-19 Thread Daniel Vetter
On Mon, Oct 06, 2014 at 03:15:07PM +0100, john.c.harri...@intel.com wrote: > From: John Harrison > > The new seqno alloction code pre-allocates a 'lazy' request structure and then > tries to allocate the 'lazy' seqno. The seqno allocation can potential wrap > around zero and when doing so, tries

[Intel-gfx] [RFC 03/21] drm/i915: Ensure OLS & PLR are always in sync

2014-10-06 Thread John . C . Harrison
From: John Harrison The new seqno alloction code pre-allocates a 'lazy' request structure and then tries to allocate the 'lazy' seqno. The seqno allocation can potential wrap around zero and when doing so, tries to idle the ring by waiting for all oustanding work to complete. With a scheduler in