[Intel-gfx] [PATCH 02/15] drm/i915: Retire an active batch pool object rather than allocate new

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Fri Mar 17 08:52:16 UTC 2017


On to, 2017-03-16 at 13:19 +0000, Chris Wilson wrote:
> Since obj->active_count is only updated upon retirement, if we see an
> active object in the batch pool, double check that is still active
> before deciding to allocate a new object.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Any specific testcase for this?

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list