diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-11 20:03:17 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-12 07:53:20 +0100 |
commit | a5efcde69b112d276416f8e6e5e9fd8ede13bfc5 (patch) | |
tree | bd17617e41cb4e87e4b6f1311fc362a2b5eeb756 /drivers/gpu/drm/i915/i915_perf_types.h | |
parent | cd9ba7b6e479ee5f71070f0c095f185e7cdc2eac (diff) |
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
Diffstat (limited to 'drivers/gpu/drm/i915/i915_perf_types.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_perf_types.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/i915/i915_perf_types.h b/drivers/gpu/drm/i915/i915_perf_types.h index a91ae2d1a543..eb8d1ebd5095 100644 --- a/drivers/gpu/drm/i915/i915_perf_types.h +++ b/drivers/gpu/drm/i915/i915_perf_types.h @@ -135,12 +135,6 @@ struct i915_perf_stream { struct intel_uncore *uncore; /** - * @wakeref: As we keep the device awake while the perf stream is - * active, we track our runtime pm reference for later release. - */ - intel_wakeref_t wakeref; - - /** * @engine: Engine associated with this performance stream. */ struct intel_engine_cs *engine; |