[PATCH] drm/i915: Update license on selftest lists to MIT
Rodrigo Vivi
rodrigo.vivi at intel.com
Tue Dec 10 23:19:00 UTC 2024
On Sun, Dec 08, 2024 at 03:17:27PM +0000, Ed Maste wrote:
> 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.
>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Chris, do you confirm your intention of MIT and not GPL for these files?
Cc: Greg KH <gregkh at linuxfoundation.org>
Greg, is this acceptable?
> Signed-off-by: Ed Maste <emaste at 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
>
More information about the Intel-gfx
mailing list