[Intel-gfx] [PATCH 07/11] drm/i915: prepare for fair lru eviction

Chris Wilson chris at chris-wilson.co.uk
Fri Jul 2 07:45:40 PDT 2010


On Fri,  2 Jul 2010 15:02:17 +0100, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> From: Daniel Vetter <daniel.vetter at ffwll.ch>
> 
> This does two little changes:
> 
> - Add an alignment parameter for evict_something. It's not really great to
>   whack a carefully sized hole into the gtt with the wrong alignment.
>   Especially since the fallback path is a full evict.
> 
> - With the inactive scan stuff we need to evict more that one object, so
>   move the unbind call into the helper function that scans for the object
>   to be evicted, too.  And adjust its name.
> 
> No functional changes in this patch, just preparation.
> 
> Signed-Off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the dri-devel mailing list