Re: [Intel-gfx] [PATCH v3] drm/i915: Workaround to avoid lite restore with HEAD==TAIL

2015-04-16 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6205 -Summary- Platform Delta drm-intel-nightly Series Applied PNV

Re: [Intel-gfx] [PATCH v3] drm/i915: Workaround to avoid lite restore with HEAD==TAIL

2015-04-15 Thread Michel Thierry
On 4/15/2015 5:40 PM, Chris Wilson wrote: On Wed, Apr 15, 2015 at 05:17:13PM +0100, Michel Thierry wrote: WaIdleLiteRestore is an execlists-only workaround, and requires the driver to ensure that any context always has HEAD!=TAIL when attempting lite restore. Add two extra MI_NOOP instructions

Re: [Intel-gfx] [PATCH v3] drm/i915: Workaround to avoid lite restore with HEAD==TAIL

2015-04-15 Thread Chris Wilson
On Wed, Apr 15, 2015 at 05:17:13PM +0100, Michel Thierry wrote: > WaIdleLiteRestore is an execlists-only workaround, and requires the driver > to ensure that any context always has HEAD!=TAIL when attempting lite > restore. > > Add two extra MI_NOOP instructions at the end of each request, but kee

[Intel-gfx] [PATCH v3] drm/i915: Workaround to avoid lite restore with HEAD==TAIL

2015-04-15 Thread Michel Thierry
WaIdleLiteRestore is an execlists-only workaround, and requires the driver to ensure that any context always has HEAD!=TAIL when attempting lite restore. Add two extra MI_NOOP instructions at the end of each request, but keep the requests tail pointing before the MI_NOOPs. We may not need to execu