[Intel-gfx] [PATCH 2/2] drm/i915: Add rpm get/put in oom and vmap notifier

Chris Wilson chris at chris-wilson.co.uk
Mon May 2 13:04:47 UTC 2016


On Mon, May 02, 2016 at 02:10:29PM +0530, Praveen Paneri wrote:
> i915_gem_shrink() will scan the bound list only if device is not
> suspended but in OOM failure scenario it becomes absolutely necessary
> to release as much memory as possible. Also in allocation failure from
> vmap address space, it is incumbent on the Driver to reap all its
> vmaps. So, adding rpm get/put in i915_gem_shrinker_oom() and
> i915_gem_shrinker_vmap() to ensure shrinking of bound objects as well.
> 
> Signed-off-by: Praveen Paneri <praveen.paneri at intel.com>
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

Please do mention when you made changed. I skipped over this series when
I only saw the 2 patches because I thought to myself you hadn't added the
third patch for the new vmap path.

Nevertheless applied, thanks.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list