[Intel-gfx] [PATCH] drm/i915: Drop mutex after successful kref_put_mutex()

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Mon Dec 19 11:38:13 UTC 2016


On ma, 2016-12-19 at 10:13 +0000, Chris Wilson wrote:
> The kref_put_mutex() returns with the mutex held after freeing the
> object - so we must remember to drop it...
> 
> Fixes: 69df05e11ab8 ("drm/i915: Simplify releasing context reference")
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

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