drm/i915: Use to_gt() helper for GGTT accesses
authorMichał Winiarski <michal.winiarski@intel.com>
Tue, 4 Jan 2022 22:35:50 +0000 (00:35 +0200)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 5 Jan 2022 18:38:34 +0000 (10:38 -0800)
commit204129a211fc486164c25e6082941e4fe3ba889d
treede5662d694458186fe354b96c2d5b67966e578fd
parent848915c35e22d36614f2b0aeca6ebf7361e8e204
drm/i915: Use to_gt() helper for GGTT accesses

GGTT is currently available both through i915->ggtt and gt->ggtt, and we
eventually want to get rid of the i915->ggtt one.
Use to_gt() for all i915->ggtt accesses to help with the future
refactoring.

Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220104223550.56135-1-andi.shyti@linux.intel.com
drivers/gpu/drm/i915/gvt/dmabuf.c
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_getparam.c
drivers/gpu/drm/i915/i915_perf.c