[Intel-gfx] [PATCH 8/8] drm/i915: Clear range when unbinding closed vma

Chris Wilson chris at chris-wilson.co.uk
Mon Dec 12 12:00:11 UTC 2016


On Mon, Dec 12, 2016 at 12:48:45PM +0100, MichaƂ Winiarski wrote:
> Since we've introduced ppgtt shrinking, most of the vmas should already
> be unbounded when ppgtt is being released.
> This allows us to take care of leftovers and assert that all vmas are
> unbounded, removing the iteration during ppgtt release.

No. The ppgtt is dead, we don't need to unbind piecemeal under the
struct_mutex. This is also used to avoid writes during suspend/resume.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list