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

2012-04-25 Thread Daniel Vetter
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

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

2012-04-24 Thread Chris Wilson
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 synchr