[Intel-gfx] [PATCH 2/2] drm/i915: Add rpm get/put in i915_shrinker_oom
daniel at ffwll.ch
Tue Jan 5 02:32:42 PST 2016
On Tue, Jan 05, 2016 at 11:16:52AM +0100, Daniel Vetter wrote:
> 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.
Well that didn't work since it doesn't compile. My tree lacks
intel_runtime_pm_get_noidle. Please resend with prerequisite patches
included in the patch series.
Software Engineer, Intel Corporation
More information about the Intel-gfx