[Intel-gfx] [PATCH] drm/i915: Skip shrinking of fenced objects if Gfx is suspended
chris at chris-wilson.co.uk
Wed Dec 16 23:25:53 PST 2015
On Thu, Dec 17, 2015 at 10:59:13AM +0530, Praveen Paneri wrote:
> When the system is running low on memory, gem shrinker is invoked.
> In this process objects will be unbinded from GTT.
> For tiled objects, access to fence registers could be required while
> unbinding them. That requires a resume of gfx device, if suspended,
> in the shrinker path. This intermediate resume could cause power
> To avoid this intermediate resume of gfx device, don't consider
> tiled(fenced) objects for purge in the shrinker path.
Well, you can't unbind anything whilst the device is suspended (GSM is
also hardware access).
Please see the recent intel_runtime_pm_tryget() discussion.
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx