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

2016-12-19 Thread Chris Wilson
On Mon, Dec 19, 2016 at 01:38:13PM +0200, Joonas Lahtinen wrote: > On ma, 2016-12-19 at 10:13 +, 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

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

2016-12-19 Thread Joonas Lahtinen
On ma, 2016-12-19 at 10:13 +, 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 > Cc: Tvrtko Ursulin R

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

2016-12-19 Thread Chris Wilson
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 Cc: Tvrtko Ursulin --- drivers/gpu/drm/i915/i915_drv.h | 7 --- 1 file changed, 4