Re: [Intel-gfx] [PATCH 8/9] drm/i915: Migrate stolen objects before hibernation

2015-12-14 Thread Chris Wilson
On Mon, Dec 14, 2015 at 11:16:10AM +0530, ankitprasad.r.sha...@intel.com wrote: > +static int > +copy_content(struct drm_i915_gem_object *obj, > + struct drm_i915_private *i915, > + struct address_space *mapping) > +{ > + struct drm_mm_node node; > + int ret, i; > +

[Intel-gfx] [PATCH 8/9] drm/i915: Migrate stolen objects before hibernation

2015-12-13 Thread ankitprasad . r . sharma
From: Chris Wilson Ville reminded us that stolen memory is not preserved across hibernation, and a result of this was that context objects now being allocated from stolen were being corrupted on S4 and promptly hanging the GPU on resume. We want to utilise stolen for as much as possible (nothing