Re: [Intel-gfx] [PATCH 04/15] drm/i915: Flush the execlist ports if idle

2017-07-20 Thread Mika Kuoppala
Chris Wilson writes: > When doing a GPU reset, the CSB register will be trashed and we will > lose any context-switch notifications that happened since the tasklet > was disabled. If we find that all requests on this engine were > completed, we want to make sure that

Re: [Intel-gfx] [PATCH 04/15] drm/i915: Flush the execlist ports if idle

2017-07-20 Thread Chris Wilson
Quoting Mika Kuoppala (2017-07-20 13:18:40) > > diff --git a/drivers/gpu/drm/i915/intel_lrc.c > > b/drivers/gpu/drm/i915/intel_lrc.c > > index 3c83f2dd6798..ad61d1998fb7 100644 > > --- a/drivers/gpu/drm/i915/intel_lrc.c > > +++ b/drivers/gpu/drm/i915/intel_lrc.c > > @@ -1327,6 +1327,31 @@ static

Re: [Intel-gfx] [PATCH 04/15] drm/i915: Flush the execlist ports if idle

2017-07-20 Thread Mika Kuoppala
Chris Wilson writes: > When doing a GPU reset, the CSB register will be trashed and we will > lose any context-switch notifications that happened since the tasklet > was disabled. If we find that all requests on this engine were > completed, we want to make sure that

[Intel-gfx] [PATCH 04/15] drm/i915: Flush the execlist ports if idle

2017-07-17 Thread Chris Wilson
When doing a GPU reset, the CSB register will be trashed and we will lose any context-switch notifications that happened since the tasklet was disabled. If we find that all requests on this engine were completed, we want to make sure that the ELSP tracker is similarly empty so that we do not feed