drm/i915: Replace i915->gt0 with to_gt(i915)
authorAndi Shyti <andi.shyti@linux.intel.com>
Tue, 25 Jul 2023 10:33:30 +0000 (12:33 +0200)
committerAndi Shyti <andi.shyti@linux.intel.com>
Tue, 25 Jul 2023 16:18:29 +0000 (18:18 +0200)
commit306f7a5b0e5794701c330291940a15191edc2f27
tree0f7e31cf3b0c245a16213d1d79c738669cfd024b
parent361ecaadb1ce3c5312c7c4c419271326d43899eb
drm/i915: Replace i915->gt0 with to_gt(i915)

Quite surprised to see that around i915 there are still i915->gt0
references. Replace them with the to_gt() helper.

Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230725103330.1041394-1-andi.shyti@linux.intel.com
drivers/gpu/drm/i915/gem/i915_gem_stolen.c
drivers/gpu/drm/i915/gt/intel_gt.c
drivers/gpu/drm/i915/gt/intel_region_lmem.c
drivers/gpu/drm/i915/pxp/intel_pxp.c
drivers/gpu/drm/i915/selftests/mock_gem_device.c