[Intel-gfx] [PATCH 12/24] drm/i915: Store a persistent reference for an object in the execbuffer cache
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Fri May 19 09:37:00 UTC 2017
On to, 2017-05-18 at 10:46 +0100, Chris Wilson wrote:
> If we take a reference to the object/vma when it is first used in an
> execbuf, we can keep that reference until the object's file-local handle
> is closed. Thereby saving a frequent ref/unref pair.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
The benchmark this gives improvements on might make sense to add to the
commit message.
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