[Intel-gfx] [PATCH] drm/i915: Bump the inactive LRU on set-to-GTT-domain
Daniel Vetter
daniel at ffwll.ch
Wed Apr 25 11:04:26 CEST 2012
On Tue, Apr 24, 2012 at 03:52:35PM +0100, Chris Wilson wrote:
> Currently, we only bump the LRU of an object when we bind into the GTT
> for a page-fault. As the object may be used many times before its
> mapping is zapped, we do not mark it as active as frequently as we
> should. Userspace should be calling set-to-GTT-domain before each
> pointer deference (for synchronous access) and so is a good place
> to mark the buffer as active.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Queued for -next (with an extended commit message as discussed on irc),
thanks for the patch.
-Daniel
--
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48
More information about the Intel-gfx
mailing list