]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit183e260ba2467be4c790781af0eb8a834bda65a7
tree11cb5f72996ebfad85956f5bb972cafec7e8afa1
parent506d1f62454b27535591cdc20e4148a736d0da66
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