aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_perf_types.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-10-10 16:05:20 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-10-10 18:44:24 +0100
commit52111c4628a29973d8be266f45b464318912b199 (patch)
tree021a682d2d990d93f93f479e97b77c67bfd45097 /drivers/gpu/drm/i915/i915_perf_types.h
parentdrm/i915/perf: store the associated engine of a stream (diff)
downloadlinux-dev-52111c4628a29973d8be266f45b464318912b199.tar.xz
linux-dev-52111c4628a29973d8be266f45b464318912b199.zip
drm/i915/perf: Store shortcut to intel_uncore
Now that we have the engine stored in i915_perf, we have a means of accessing intel_gt should we require it. However, we are currently only using the intel_gt to find the right intel_uncore, so replace our i915_perf.gt pointer with the more useful i915_perf.uncore. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191010150520.26488-2-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_perf_types.h b/drivers/gpu/drm/i915/i915_perf_types.h
index 82cd3b295037..a91ae2d1a543 100644
--- a/drivers/gpu/drm/i915/i915_perf_types.h
+++ b/drivers/gpu/drm/i915/i915_perf_types.h
@@ -130,9 +130,9 @@ struct i915_perf_stream {
struct i915_perf *perf;
/**
- * @gt: intel_gt container
+ * @uncore: mmio access path
*/
- struct intel_gt *gt;
+ struct intel_uncore *uncore;
/**
* @wakeref: As we keep the device awake while the perf stream is