Re: [PATCH 2/2] drm/i915: Add rpm get/put in i915_shrinker_oom

Daniel Vetter
2016-01-05T10:32:45Z

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@intel.com>
> > Reviewed-by: Chris Wilson <chris@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.

Thanks, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation