]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Enable rpm wakeref tracking whether runtime pm is enabled or not
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 Jan 2022 08:15:39 +0000 (10:15 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 1 Feb 2022 09:12:28 +0000 (11:12 +0200)
commitb5b37d434aba76ef4deaa2c9c14a80ae117ed5ac
tree2c12bb6be5cb97b7213abc2db08a4b1cca1a07f1
parent347b5a05e25eec64444deb28f76915838b1b21a6
drm/i915: Enable rpm wakeref tracking whether runtime pm is enabled or not

Don't see why we should skip the wakeref tracking when the
platform doesn't support runtime pm. We still want all the
code to be 100% leak free so let's track this unconditionally.

Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Marco Elver <elver@google.com> # stackdepot
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220126081539.23227-2-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/intel_runtime_pm.c