summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2014-06-06 15:04:37 +0400
committerJani Nikula <jani.nikula@intel.com>2014-06-11 12:06:43 +0400
commit329ff963fd4c1356af66b878b11460388cb5f5dd (patch)
treeed6d7cb480334e16566a2905300c9f7dc788d1a2 /drivers/video
parent4be173813e57c7298103a83155c2391b5b167b4c (diff)
downloadlinux-329ff963fd4c1356af66b878b11460388cb5f5dd.tar.xz
drm/i915: fix possible refcount leak when resetting forcewake
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@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions