]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/perf: Track the rpm wakeref
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Jan 2019 14:21:15 +0000 (14:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Jan 2019 16:18:09 +0000 (16:18 +0000)
commitf253f989dcd5531d1b3ec31a97210cd836843d52
tree5b40146978a4c23fcbbe1dd5e146f5b46c2857c5
parentf040b75ce824cfd3d073a9eec8f5a5862a596145
drm/i915/perf: Track the rpm wakeref

Keep track of our wakeref used to keep the device awake so we can catch
any leak.

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-7-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_perf.c