Re: [Intel-gfx] [PATCH] drm/i915/gt: Scrub execlists state on resume

2020-04-17 Thread Chris Wilson
Quoting Tvrtko Ursulin (2020-04-17 13:09:52) > > On 16/04/2020 12:41, Chris Wilson wrote: > > Before we resume, we reset the HW so we restart from a known good state. > > However, as a part of the reset process, we drain our pending CS event > > queue -- and if we are resuming that does not corres

Re: [Intel-gfx] [PATCH] drm/i915/gt: Scrub execlists state on resume

2020-04-17 Thread Tvrtko Ursulin
On 16/04/2020 12:41, Chris Wilson wrote: Before we resume, we reset the HW so we restart from a known good state. However, as a part of the reset process, we drain our pending CS event queue -- and if we are resuming that does not correspond to internal state. On setup, we are scrubbing the CS

[Intel-gfx] [PATCH] drm/i915/gt: Scrub execlists state on resume

2020-04-16 Thread Chris Wilson
Before we resume, we reset the HW so we restart from a known good state. However, as a part of the reset process, we drain our pending CS event queue -- and if we are resuming that does not correspond to internal state. On setup, we are scrubbing the CS pointers, but alas only on setup. Apply the