Re: [Intel-gfx] [RFC 7/8] drm/i915: Skip CSB processing on invalid CSB tail

2018-03-21 Thread Chris Wilson
Quoting Chris Wilson (2018-03-21 18:12:51) > Quoting Jeff McGee (2018-03-21 17:31:45) > > On Wed, Mar 21, 2018 at 10:26:24AM -0700, jeff.mc...@intel.com wrote: > > > From: Jeff McGee > > > > > > Engine reset is fast. A context switch interrupt may be generated just > > > prior to the reset such t

Re: [Intel-gfx] [RFC 7/8] drm/i915: Skip CSB processing on invalid CSB tail

2018-03-21 Thread Chris Wilson
Quoting Jeff McGee (2018-03-21 17:31:45) > On Wed, Mar 21, 2018 at 10:26:24AM -0700, jeff.mc...@intel.com wrote: > > From: Jeff McGee > > > > Engine reset is fast. A context switch interrupt may be generated just > > prior to the reset such that the top half handler is racing with reset > > post-

Re: [Intel-gfx] [RFC 7/8] drm/i915: Skip CSB processing on invalid CSB tail

2018-03-21 Thread Jeff McGee
On Wed, Mar 21, 2018 at 10:26:24AM -0700, jeff.mc...@intel.com wrote: > From: Jeff McGee > > Engine reset is fast. A context switch interrupt may be generated just > prior to the reset such that the top half handler is racing with reset > post-processing. The handler may set the irq_posted bit ag

[Intel-gfx] [RFC 7/8] drm/i915: Skip CSB processing on invalid CSB tail

2018-03-21 Thread jeff . mcgee
From: Jeff McGee Engine reset is fast. A context switch interrupt may be generated just prior to the reset such that the top half handler is racing with reset post-processing. The handler may set the irq_posted bit again after the reset code has cleared it to start fresh. Then the re-enabled task