]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Force printing wakeref tacking during pm_cleanup
authorImre Deak <imre.deak@intel.com>
Thu, 9 May 2019 17:34:37 +0000 (20:34 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 14 May 2019 10:56:08 +0000 (13:56 +0300)
commitc37340330acc4ec650a393c208651deda187f4a7
tree75c4932604502129d5b3d65e5ec83d78a42b8288
parentb3ae73795711af98e76fff088b703c4c3477e568
drm/i915: Force printing wakeref tacking during pm_cleanup

Make sure we print and drop the wakeref tracking info during pm_cleanup
even if there are wakeref holders (either raw-wakeref or wakelock
holders). Dropping the wakeref tracking means that a late put on the ref
will WARN since the wakeref will be unknown, but that is rightly so,
since the put is late and we want to catch that case.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190509173446.31095-3-imre.deak@intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c