drm/i915/perf: Store shortcut to intel_uncore
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 10 Oct 2019 15:05:20 +0000 (16:05 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 10 Oct 2019 17:44:24 +0000 (18:44 +0100)
commit52111c4628a29973d8be266f45b464318912b199
tree021a682d2d990d93f93f479e97b77c67bfd45097
parent9a61363a6310dda769b8c7601fc9de8ed81e6bc8
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
drivers/gpu/drm/i915/i915_perf.c
drivers/gpu/drm/i915/i915_perf_types.h