[Intel-gfx] [PATCH v3 2/5] drm/i915: Use batch pools with the command parser

Chris Wilson chris at chris-wilson.co.uk
Thu Nov 6 08:36:55 CET 2014


On Wed, Nov 05, 2014 at 02:42:00PM -0800, Volkin, Bradley D wrote:
> For this part, I've got an implementation that works ok but one difference is
> that if we stop submitting batches, and therefore stop calling batch_pool_get,
> we stop moving buffers to the batch pool's inactive list. This means some buffers
> don't get marked purgeable even when they are. The solution that I see is to
> add a function to do the batch pool active -> inactive work and then call that
> from the appropriate place(s), but that seems to defeat the purpose of the
> proposed change. Suggestions?

Just mark them always as purgeable.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list