commit | 35c94185c56de950110a09efd5d176292a21360b | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Tue Apr 07 16:20:37 2015 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Apr 10 08:56:05 2015 +0200 |
tree | c0e9eac459eecb6d0eefd80b48b03827e2ad7b3d | |
parent | 06fbca713e8e4a04c3506a64978969be580cd077 [diff] |
drm/i915: Free batch pool when idle 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 <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>