Re: [Intel-gfx] [PATCH 3/3] drm/i915/execlists: Read the context-status HEAD from the HWSP

2017-07-13 Thread Chris Wilson
Quoting Michel Thierry (2017-07-13 01:38:18) > On 7/12/2017 4:41 PM, Daniele Ceraolo Spurio wrote: > > > > > > On 12/07/17 15:58, Chris Wilson wrote: > >> The engine provides also provides mirror of the CSB write pointer in the > >> HWSP, but not of our read pointer. To take advantage of this we

Re: [Intel-gfx] [PATCH 3/3] drm/i915/execlists: Read the context-status HEAD from the HWSP

2017-07-12 Thread Michel Thierry
On 7/12/2017 4:41 PM, Daniele Ceraolo Spurio wrote: On 12/07/17 15:58, Chris Wilson wrote: The engine provides also provides mirror of the CSB write pointer in the HWSP, but not of our read pointer. To take advantage of this we need to remember where we read up to on the last interrupt and

Re: [Intel-gfx] [PATCH 3/3] drm/i915/execlists: Read the context-status HEAD from the HWSP

2017-07-12 Thread Daniele Ceraolo Spurio
On 12/07/17 15:58, Chris Wilson wrote: The engine provides also provides mirror of the CSB write pointer in the HWSP, but not of our read pointer. To take advantage of this we need to remember where we read up to on the last interrupt and continue off from there. This poses a problem following

[Intel-gfx] [PATCH 3/3] drm/i915/execlists: Read the context-status HEAD from the HWSP

2017-07-12 Thread Chris Wilson
The engine provides also provides mirror of the CSB write pointer in the HWSP, but not of our read pointer. To take advantage of this we need to remember where we read up to on the last interrupt and continue off from there. This poses a problem following a reset, as we don't know where the hw