[Intel-gfx] [PATCH] drm/i915/ringbuffer: Make context pin/unpin symmetric

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Tue Jun 5 09:09:39 UTC 2018


Quoting Chris Wilson (2018-06-05 11:53:48)
> Currently, we have a special routine for pinning the context state at
> the start of activity tracking, but lack the complementary unpin
> routine. Create it to to ease later patches that want to do partial
> teardown on error, and, not least, to improve the readability of the
> code.
> 
> Suggested-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> Cc: Matthew Auld <matthew.william.auld at gmail.com

Matt's e-mail seems damaged here.

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

Regards, Joonas


More information about the Intel-gfx mailing list