]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/pmu: Track rpm wakeref
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Jan 2019 14:21:16 +0000 (14:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Jan 2019 16:18:11 +0000 (16:18 +0000)
commitc8d215e60540733d566e2fb76a521a02594eef01
treef88461be27f44484af3fbd9d83e536ad7909ea21
parent45409a144fe9b8aac498642d18699fc0423dab29
drm/i915/pmu: Track rpm wakeref

Track the wakeref used for temporary access to the device, and discard
it 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-8-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_pmu.c