Re: [Intel-gfx] [PATCH] drm/i915: During shrink_all we only need to idle the GPU

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

Re: [Intel-gfx] [PATCH] drm/i915: During shrink_all we only need to idle the GPU

2015-06-29 Thread Chris Wilson
On Mon, Jun 29, 2015 at 09:13:31AM +0200, Daniel Vetter wrote: > On Sun, Jun 28, 2015 at 01:06:39PM +0100, Chris Wilson wrote: > > We can forgo an evict-everything here as the shrinker operation itself > > will unbind any vma as required. If we explicitly idle the GPU through a > > switch to the de

Re: [Intel-gfx] [PATCH] drm/i915: During shrink_all we only need to idle the GPU

2015-06-29 Thread Daniel Vetter
On Sun, Jun 28, 2015 at 01:06:39PM +0100, Chris Wilson wrote: > We can forgo an evict-everything here as the shrinker operation itself > will unbind any vma as required. If we explicitly idle the GPU through a > switch to the default context, we not only create a request in an > illegal context (e.

[Intel-gfx] [PATCH] drm/i915: During shrink_all we only need to idle the GPU

2015-06-28 Thread Chris Wilson
We can forgo an evict-everything here as the shrinker operation itself will unbind any vma as required. If we explicitly idle the GPU through a switch to the default context, we not only create a request in an illegal context (e.g. whilst shrinking during execbuf with a request already allocated),