[Intel-gfx] [PATCH] drm/i915/selftests: Take a ref to the request we wait upon

Matthew Auld matthew.william.auld at gmail.com
Wed Nov 20 10:34:27 UTC 2019


On Wed, 20 Nov 2019 at 10:28, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> i915_request_add() consumes the passed in reference to the i915_request,
> so if the selftest caller wishes to wait upon it afterwards, it needs to
> take a reference for itself.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Matthew Auld <matthew.auld at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list