summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gem/i915_gem_shrinker.c
diff options
context:
space:
mode:
authorMichał Winiarski <michal.winiarski@intel.com>2022-01-05 00:35:50 +0200
committerMatt Roper <matthew.d.roper@intel.com>2022-01-05 10:38:34 -0800
commit204129a211fc486164c25e6082941e4fe3ba889d (patch)
treede5662d694458186fe354b96c2d5b67966e578fd /drivers/gpu/drm/i915/gem/i915_gem_shrinker.c
parent848915c35e22d36614f2b0aeca6ebf7361e8e204 (diff)
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
Diffstat (limited to 'drivers/gpu/drm/i915/gem/i915_gem_shrinker.c')
0 files changed, 0 insertions, 0 deletions