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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux