[PATCH] drm/i915: Bump the inactive LRU on set-to-GTT-domain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux