[Intel-gfx] [PATCH] drm/i915: Replace i915->gt0 with to_gt(i915)

Andi Shyti andi.shyti at linux.intel.com
Tue Jul 25 16:36:43 UTC 2023


Hi,

On Tue, Jul 25, 2023 at 03:41:31PM +0200, Andrzej Hajda wrote:
> On 25.07.2023 12:33, Andi Shyti wrote:
> > 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 at linux.intel.com>
> > ---
> >   drivers/gpu/drm/i915/gem/i915_gem_stolen.c       | 2 +-
> >   drivers/gpu/drm/i915/gt/intel_gt.c               | 2 +-
> >   drivers/gpu/drm/i915/gt/intel_region_lmem.c      | 2 +-
> >   drivers/gpu/drm/i915/pxp/intel_pxp.c             | 8 ++++----
> >   drivers/gpu/drm/i915/selftests/mock_gem_device.c | 2 +-
> >   5 files changed, 8 insertions(+), 8 deletions(-)
> 
> Reviewed-by: Andrzej Hajda <andrzej.hajda at intel.com>

Thanks for your review! Pushed in drm-intel-gt-next.

Andi


More information about the dri-devel mailing list