[Intel-gfx] [PATCH 02/33] drm/i915: Introduce struct intel_gt as replacement for anonymous i915->gt

Chris Wilson chris at chris-wilson.co.uk
Wed Jun 19 13:51:55 UTC 2019


Quoting Jani Nikula (2019-06-19 14:48:30)
> On Wed, 19 Jun 2019, Tvrtko Ursulin <tvrtko.ursulin at linux.intel.com> wrote:
> > From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> >
> > We have long been slighlty annoyed by the anonymous i915->gt.
> >
> > Promote it to a separate structure and give it its own header.
> >
> > This is a first step towards cleaning up the separation between i915 and gt.
> >
> > Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> > Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
> > ---
> >  drivers/gpu/drm/i915/gt/intel_gt_types.h | 53 ++++++++++++++++++++++++
> >  drivers/gpu/drm/i915/i915_drv.h          | 34 +--------------
> >  2 files changed, 55 insertions(+), 32 deletions(-)
> >  create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_types.h
> >
> > diff --git a/drivers/gpu/drm/i915/gt/intel_gt_types.h b/drivers/gpu/drm/i915/gt/intel_gt_types.h
> > new file mode 100644
> > index 000000000000..dcdb18e0dd84
> > --- /dev/null
> > +++ b/drivers/gpu/drm/i915/gt/intel_gt_types.h
> > @@ -0,0 +1,53 @@
> > +/*
> > + * SPDX-License-Identifier: MIT
> > + *
> > + * Copyright © 2019 Intel Corporation
> > + */
> 
> http://patchwork.freedesktop.org/patch/msgid/20190615043142.GA1890@nishad

I utterly abhor that. Breaking prior coding style and consistency just
for the sake of a perl script. I want the copyright information as part
of the licence grant (as it is who is giving the licence grant in the first
place).
-Chris


More information about the Intel-gfx mailing list