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

Praveen Paneri praveen.paneri at intel.com
Tue May 3 03:46:20 UTC 2016



On Monday 02 May 2016 06:34 PM, Chris Wilson wrote:
> 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.
Will take care of this going forward.

Thanks,
Praveen
>
> Nevertheless applied, thanks.
> -Chris
>


More information about the Intel-gfx mailing list