[Intel-gfx] [PATCH v3 12/23] drm/i915: Remove bitmap tracking for used-ptes

Chris Wilson chris at chris-wilson.co.uk
Tue Feb 14 12:46:56 UTC 2017


On Tue, Feb 14, 2017 at 12:30:08PM +0000, Matthew Auld wrote:
> On 14 February 2017 at 11:04, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > We only operate on known extents (both for alloc/clear) and so we can use
> > both the knowledge of the bind/unbind range along with the knowledge of
> > the existing pagetable to avoid having to allocate temporary and
> > auxiliary bitmaps.
> >
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Reviewed-by: Matthew Auld <matthew.auld at intel.com>
> 
> + Reviewed-by: MichaƂ Winiarski <michal.winiarski at intel.com>

And
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99295

(I think by itself moving the used_pte tracking to allocate is enough to
prevent the race with the shrinker. Though definitely by the end of the
series we are safe.)
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list