[Intel-gfx] [PATCH v2 1/2] drm/i915: fix possible refcount leak when resetting forcewake

Chris Wilson chris at chris-wilson.co.uk
Fri Jun 6 13:08:43 CEST 2014


On Fri, Jun 06, 2014 at 02:04:37PM +0300, Imre Deak wrote:
> If the timer putting the last forcewake refcount was pending and we
> canceled it, we'll leak the corresponding forcewake and RPM references.
> 
> v2:
> - do the ptr casting at the caller instead of adding a separate helper
>   for this (Chris)
> 
> Signed-off-by: Imre Deak <imre.deak at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list