]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/hotplug: Track temporary rpm wakeref
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Jan 2019 14:21:20 +0000 (14:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Jan 2019 16:18:18 +0000 (16:18 +0000)
commita633d75493724107df7f738048b78b90d8e7937e
tree4da2de8c9a01596fe72e678fa1ab23a8bf5a3266
parent4c51fb3aa1c6099ba48985eae6e210fa911f08cc
drm/i915/hotplug: Track temporary rpm wakeref

Keep track of the temporary rpm wakeref inside hotplug detection, so
that we can cancel it immediately upon release and so clearly identify
leaks.

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