Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ed Maste <emaste@FreeBSD.org>
To: intel-gfx@lists.freedesktop.org
Cc: Jani Nikula <jani.nikula@linux.intel.com>,
	Joonas Lahtinen <joonas.lahtinen@linux.intel.com>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>,
	Tvrtko Ursulin <tursulin@ursulin.net>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	Ed Maste <emaste@FreeBSD.org>,
	dri-devel@lists.freedesktop.org
Subject: [PATCH] drm/i915: Update license on selftest lists to MIT
Date: Sun,  8 Dec 2024 15:17:27 +0000	[thread overview]
Message-ID: <20241208151727.71695-1-emaste@FreeBSD.org> (raw)

These two files (i915_live_selftests.h, i915_mock_selftests.h) were
introduced in commit 953c7f82eb89 ("drm/i915: Provide a hook for
selftests") and are effectively just a list of selftests.

The selftest implementation itself is largely in i915_selftest.c, and
uses a MIT license.  Graphics drivers are shared with other operating
systems and have long used a permissive license (or dual license) to
facilitate this.

The two selftest list files carried no license when introduced in
953c7f82eb89, presumably as they were considered trivial.  Notably the
general selftest header i915_selftest.h (which does have non-trivial
content) also has an MIT license.

The GPL-2.0 SPDX tag in these two files came from b24413180f56, where
Greg Kroah-Hartman added the tag to all files that had no license.  This
makes sense in general, but it is clear from the context of the original
selftest commit here that these files are a trivial part of an otherwise
MIT-licensed patch to a MIT-licensed component, and should have an MIT
license.

Signed-off-by: Ed Maste <emaste@FreeBSD.org>
---
 drivers/gpu/drm/i915/selftests/i915_live_selftests.h | 2 +-
 drivers/gpu/drm/i915/selftests/i915_mock_selftests.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/selftests/i915_live_selftests.h b/drivers/gpu/drm/i915/selftests/i915_live_selftests.h
index 5aee6c9a8295..264b951c4f77 100644
--- a/drivers/gpu/drm/i915/selftests/i915_live_selftests.h
+++ b/drivers/gpu/drm/i915/selftests/i915_live_selftests.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: MIT */
 
 #ifndef selftest
 #define selftest(x, y)
diff --git a/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h b/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h
index 0c22e0fc9059..18935e311748 100644
--- a/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h
+++ b/drivers/gpu/drm/i915/selftests/i915_mock_selftests.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: MIT */
 
 #ifndef selftest
 #define selftest(x, y)
-- 
2.46.2


             reply	other threads:[~2024-12-08 15:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-08 15:17 Ed Maste [this message]
2024-12-08 16:03 ` ✓ i915.CI.BAT: success for drm/i915: Update license on selftest lists to MIT Patchwork
2024-12-10 23:19 ` [PATCH] " Rodrigo Vivi
2024-12-11  7:24   ` Greg KH
2024-12-12 15:10     ` Ed Maste
2024-12-13  9:54       ` Greg KH

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=20241208151727.71695-1-emaste@FreeBSD.org \
    --to=emaste@freebsd.org \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=joonas.lahtinen@linux.intel.com \
    --cc=rodrigo.vivi@intel.com \
    --cc=simona@ffwll.ch \
    --cc=tursulin@ursulin.net \
    /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