[Intel-gfx] [PATCH 10/11] drm/i915: ensure lru ordering of fence_list
chris at chris-wilson.co.uk
Fri Jan 15 05:22:55 PST 2010
On Fri, 15 Jan 2010 13:24:17 +0100, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> The fence_list should be lru ordered for otherwise we might try
> to steal a fence reg from an active object even though there are
> fences from inactive objects available. lru ordering was obeyed
> for gpu access everywhere save when moving dirty objects from
> flushing_list to active_list.
> Fixing this cause the code to indent way to much, so I've extracted
> the flushing_list processing logic into its on function.
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx