On Tue, 11 May 2010 09:38:36 -0700, Eric Anholt wrote:
> Couldn't this be more easily handled by the times where you would move
> to the tail of mmap, just move to the tail of inactive? Since inactive
> is "obj_priv->gtt_space && !obj_priv->active" already.
The real issue is the inactive list is
On Tue, 11 May 2010 16:55:27 +0100, Chris Wilson
wrote:
> By keeping buffers that are in use by the CPU, having been mmapped and
> moved to the CPU or GTT domain since their last rendering on a separate
> inactive list, prevents the first-pass eviction process from unbinding
> one of these buffer
By keeping buffers that are in use by the CPU, having been mmapped and
moved to the CPU or GTT domain since their last rendering on a separate
inactive list, prevents the first-pass eviction process from unbinding
one of these buffers. Those buffers are evicted as normal during
evict-everything so