]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Track the rpm wakerefs for error handling
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Jan 2019 14:21:12 +0000 (14:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Jan 2019 16:18:06 +0000 (16:18 +0000)
commit786b3b5d1874043e87ab24bd14a266f878534f05
tree11cb5f72996ebfad85956f5bb972cafec7e8afa1
parenta0bdd2cd702df49fd074794709c00e85ea47b3a2
drm/i915: Track the rpm wakerefs for error handling

Keep hold of the local wakeref used in error handling, to cancel
the tracking upon release so that leaks can be identified.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190114142129.24398-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_irq.c