]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/perf: Replace global wakeref tracking with engine-pm
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 11 Oct 2019 19:03:17 +0000 (20:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 12 Oct 2019 06:53:20 +0000 (07:53 +0100)
commit3a2da6933575cbe8f9018f47db148aec68a966d0
treebd17617e41cb4e87e4b6f1311fc362a2b5eeb756
parent44ac151216081ec26d3368b054fd5f1a1e1629ee
drm/i915/perf: Replace global wakeref tracking with engine-pm

As we now have a specific engine to use OA on, exchange the top-level
runtime-pm wakeref with the engine-pm. This still results in the same
top-level runtime-pm, but with more nuances to keep the engine and its
gt awake.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191011190325.10979-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_perf.c
drivers/gpu/drm/i915/i915_perf_types.h