Re: [Intel-gfx] [PATCH] drm/i915: Skip shrinking of fenced objects if Gfx is suspended

2015-12-16 Thread Chris Wilson
On Thu, Dec 17, 2015 at 10:59:13AM +0530, Praveen Paneri wrote: > When the system is running low on memory, gem shrinker is invoked. > In this process objects will be unbinded from GTT. > For tiled objects, access to fence registers could be required while > unbinding them. That requires a resume o

[Intel-gfx] [PATCH] drm/i915: Skip shrinking of fenced objects if Gfx is suspended

2015-12-16 Thread Praveen Paneri
When the system is running low on memory, gem shrinker is invoked. In this process objects will be unbinded from GTT. For tiled objects, access to fence registers could be required while unbinding them. That requires a resume of gfx device, if suspended, in the shrinker path. This intermediate resu