[Intel-gfx] [PATCH 2/2] drm/i915: Add rpm get/put in i915_shrinker_oom

Daniel Vetter daniel at ffwll.ch
Tue Jan 5 02:16:52 PST 2016


On Tue, Dec 29, 2015 at 11:58:26AM +0000, Chris Wilson wrote:
> On Tue, Dec 29, 2015 at 12:35:39PM +0530, Praveen Paneri wrote:
> > i915_gem_shrink_all() will scan the bound list only if device is not
> > suspended but in OOM scenarios it becomes absolutely necessary to
> > release as much memory as possible. So, adding rpm get/put in
> > i915_shrinker_oom() to ensure shrinking of bound objects in OOM
> > scenario.
> > 
> > Signed-off-by: Praveen Paneri <praveen.paneri at intel.com>
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

Both applied to dinq, thanks.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list