Re: [Intel-gfx] [PATCH 4/6] drm/i915: Free batch pool when idle

2015-03-19 Thread Tvrtko Ursulin
On 03/19/2015 05:14 PM, Chris Wilson wrote: On Thu, Mar 19, 2015 at 05:03:56PM +, Tvrtko Ursulin wrote: On 03/09/2015 09:55 AM, Chris Wilson wrote: At runtime, this helps ensure that the batch pools are kept trim and fast. Then at suspend, this releases memory that we do not need to resto

Re: [Intel-gfx] [PATCH 4/6] drm/i915: Free batch pool when idle

2015-03-19 Thread Chris Wilson
On Thu, Mar 19, 2015 at 05:03:56PM +, Tvrtko Ursulin wrote: > > On 03/09/2015 09:55 AM, Chris Wilson wrote: > >At runtime, this helps ensure that the batch pools are kept trim and > >fast. Then at suspend, this releases memory that we do not need to > >restore. It also ties into the oom-notifi

Re: [Intel-gfx] [PATCH 4/6] drm/i915: Free batch pool when idle

2015-03-19 Thread Tvrtko Ursulin
On 03/09/2015 09:55 AM, Chris Wilson wrote: At runtime, this helps ensure that the batch pools are kept trim and fast. Then at suspend, this releases memory that we do not need to restore. It also ties into the oom-notifier to ensure that we recover as much kernel memory as possible during OOM.

[Intel-gfx] [PATCH 4/6] drm/i915: Free batch pool when idle

2015-03-09 Thread Chris Wilson
At runtime, this helps ensure that the batch pools are kept trim and fast. Then at suspend, this releases memory that we do not need to restore. It also ties into the oom-notifier to ensure that we recover as much kernel memory as possible during OOM. Signed-off-by: Chris Wilson --- drivers/gpu/