]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33d41d4eaa2abf702a6134b4981a93550cd80b22
tree021a682d2d990d93f93f479e97b77c67bfd45097
parentc11f9345f080b41c1882c37cdb07de1a35debba3
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