Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Zack Rusin <zackr@vmware.com>
To: "igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>,
	"kamil.konieczny@linux.intel.com"
	<kamil.konieczny@linux.intel.com>
Cc: Martin Krastev <krastevm@vmware.com>,
	Michael Banack <banackm@vmware.com>,
	Maaz Mombasawala <mombasawalam@vmware.com>
Subject: Re: [igt-dev] [PATCH i-g-t v2 1/8] igt/vmwgfx: Add generated headers for svga device
Date: Fri, 17 Mar 2023 19:34:04 +0000	[thread overview]
Message-ID: <6432b28a2b0e0548eebb25fb909b451d881fdbc9.camel@vmware.com> (raw)
In-Reply-To: <20230317165252.vytfbcuecswykd6p@kamilkon-desk1>

On Fri, 2023-03-17 at 17:52 +0100, Kamil Konieczny wrote:
> !! External Email
> 
> Hi Zack,
> 
> On 2023-03-15 at 22:26:52 -0400, Zack Rusin wrote:
> > From: Maaz Mombasawala <mombasawalam@vmware.com>
> > 
> > Add generated headers for svga device which will be used
> > to interface with the vmwgfx driver.
> > 
> > Signed-off-by: Roye Eshed <reshed@vmware.com>
> > Signed-off-by: Zack Rusin <zackr@vmware.com>
> > Signed-off-by: Maaz Mombasawala <mombasawalam@vmware.com>
> > ---
> >  lib/svga/svga3d_cmd.h         | 1511 +++++++++++++++++++++++++++++
> >  lib/svga/svga3d_devcaps.h     |  369 +++++++
> >  lib/svga/svga3d_dx.h          | 1722 +++++++++++++++++++++++++++++++++
> >  lib/svga/svga3d_limits.h      |   83 ++
> >  lib/svga/svga3d_reg.h         |   44 +
> >  lib/svga/svga3d_surfacedefs.h | 1559 +++++++++++++++++++++++++++++
> >  lib/svga/svga3d_types.h       | 1554 +++++++++++++++++++++++++++++
> >  lib/svga/svga_escape.h        |   54 ++
> >  lib/svga/svga_overlay.h       |  115 +++
> >  lib/svga/svga_reg.h           |  897 +++++++++++++++++
> >  lib/svga/vm_basic_types.h     |  161 +++
> >  11 files changed, 8069 insertions(+)
> >  create mode 100644 lib/svga/svga3d_cmd.h
> >  create mode 100644 lib/svga/svga3d_devcaps.h
> >  create mode 100644 lib/svga/svga3d_dx.h
> >  create mode 100644 lib/svga/svga3d_limits.h
> >  create mode 100644 lib/svga/svga3d_reg.h
> >  create mode 100644 lib/svga/svga3d_surfacedefs.h
> >  create mode 100644 lib/svga/svga3d_types.h
> >  create mode 100644 lib/svga/svga_escape.h
> >  create mode 100644 lib/svga/svga_overlay.h
> >  create mode 100644 lib/svga/svga_reg.h
> >  create mode 100644 lib/svga/vm_basic_types.h
> > 
> > diff --git a/lib/svga/svga3d_cmd.h b/lib/svga/svga3d_cmd.h
> > new file mode 100644
> > index 00000000..5a64d40b
> > --- /dev/null
> > +++ b/lib/svga/svga3d_cmd.h
> > @@ -0,0 +1,1511 @@
> > +/**********************************************************
> > + * Copyright 2012-2021 VMware, Inc.
> > + * SPDX-License-Identifier: GPL-2.0 OR MIT
> 
> imho SPDX should be first, (c) in line below. Did you check it
> with checkpatch.pl from Linux kernel ?

Those headers are from the kernel. They're auto-generated so I'd prefer to keep them
matching the kernel otherwise it's impossible to keep them up to date and the next
time someone updates them they revert back. Having said that the spdx line being
first is something that we did change in the script autogenerating them, it's just
that we haven't updated those headers in IGT for a while. I was planning to update
the kernel and igt next month, but I can do that sooner.

As to the deleting the license text after the spdx header, VMware has standard open
source contributing header template that we need to use, while we can ask for an
exception to change it for IGT, it might be a lot more effective is someone other
than us does it after contribution lands in particular because it seems a few other
files in IGT do the same thing (e.g. amd_basic.c, amd_pci_unplug.c,
amd_deadlock.c...) so it might be a worthy project wide cleanup.

z



  reply	other threads:[~2023-03-17 19:34 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-16  2:26 [igt-dev] [PATCH i-g-t v2 0/8] Add vmwgfx support Zack Rusin
2023-03-16  2:26 ` [igt-dev] [PATCH i-g-t v2 1/8] igt/vmwgfx: Add generated headers for svga device Zack Rusin
     [not found]   ` <DM6PR05MB7099753BF0C4C180B50FE6F5AEBC9@DM6PR05MB7099.namprd05.prod.outlook.com>
2023-03-16 13:03     ` Martin Krastev (VMware)
2023-03-20 17:08       ` Kamil Konieczny
2023-03-17 16:52   ` Kamil Konieczny
2023-03-17 19:34     ` Zack Rusin [this message]
2023-04-03 12:57       ` Kamil Konieczny
2023-03-16  2:26 ` [igt-dev] [PATCH i-g-t v2 2/8] igt/vmwgfx: Add vmwgfx support Zack Rusin
     [not found]   ` <DM6PR05MB7099CE80747EDA8D25FA1B80AEBC9@DM6PR05MB7099.namprd05.prod.outlook.com>
2023-03-16 13:17     ` Martin Krastev (VMware)
2023-03-17  8:12   ` Petri Latvala
2023-03-16  2:26 ` [igt-dev] [PATCH i-g-t v2 3/8] igt/vmwgfx: Add triangle test Zack Rusin
     [not found]   ` <DM6PR05MB7099906944F388E2AF52683CAEBC9@DM6PR05MB7099.namprd05.prod.outlook.com>
2023-03-16 13:37     ` Martin Krastev (VMware)
2023-03-17 16:58   ` Kamil Konieczny
2023-03-16  2:26 ` [igt-dev] [PATCH i-g-t v2 4/8] igt/vmwgfx: Add execution buffer test Zack Rusin
     [not found]   ` <DM6PR05MB7099387153CDB475DEC7D7A4AEBC9@DM6PR05MB7099.namprd05.prod.outlook.com>
2023-03-16 13:55     ` Martin Krastev (VMware)
2023-03-16  2:26 ` [igt-dev] [PATCH i-g-t v2 5/8] igt/vmwgfx: Add surface copy test Zack Rusin
     [not found]   ` <DM6PR05MB7099EFBC41B5FCEE66C80C44AEBC9@DM6PR05MB7099.namprd05.prod.outlook.com>
2023-03-16 14:08     ` Martin Krastev (VMware)
2023-03-16  2:26 ` [igt-dev] [PATCH i-g-t v2 6/8] igt/vmwgfx: Add mob stress test Zack Rusin
     [not found]   ` <DM6PR05MB70993CAD6D2EF2959A0522F8AEBC9@DM6PR05MB7099.namprd05.prod.outlook.com>
2023-03-16 14:13     ` Martin Krastev (VMware)
2023-03-16  2:26 ` [igt-dev] [PATCH i-g-t v2 7/8] igt/vmwgfx: Add reference counting tests Zack Rusin
     [not found]   ` <DM6PR05MB70999D64A5D5DC1B22771866AEBC9@DM6PR05MB7099.namprd05.prod.outlook.com>
2023-03-16 14:22     ` Martin Krastev (VMware)
2023-03-16  2:26 ` [igt-dev] [PATCH i-g-t v2 8/8] lib/igt_kms: vmwgfx returns 8 crtc Zack Rusin
     [not found]   ` <DM6PR05MB70990327C01C62C72489C001AEBC9@DM6PR05MB7099.namprd05.prod.outlook.com>
2023-03-16 14:25     ` Martin Krastev (VMware)
2023-03-16 17:39   ` Maaz Mombasawala (VMware)
2023-03-16  3:07 ` [igt-dev] ✓ Fi.CI.BAT: success for Add vmwgfx support (rev2) Patchwork
2023-03-16  8:19 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6432b28a2b0e0548eebb25fb909b451d881fdbc9.camel@vmware.com \
    --to=zackr@vmware.com \
    --cc=banackm@vmware.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=krastevm@vmware.com \
    --cc=mombasawalam@vmware.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox