]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/gpuvm: Dual-licence the drm_gpuvm code GPL-2.0 OR MIT
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Tue, 10 Oct 2023 14:27:24 +0000 (16:27 +0200)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Tue, 17 Oct 2023 08:55:30 +0000 (10:55 +0200)
Dual-licence in order to make it possible for other non-GPL os'es
to re-implement the code. The use of EXPORT_SYMBOL_GPL() is intentionally
left untouched to prevent use of drm_gpuvm as a proxy for non-GPL drivers
to access GPL-only kernel symbols.

Much of the ideas and algorithms used in the drm_gpuvm code is already
present in one way or another in MIT-licensed code.

Cc: Danilo Krummrich <dakr@redhat.com>
Cc: airlied@gmail.com
Cc: daniel@ffwll.ch
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Acked-by: Danilo Krummrich <dakr@redhat.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231010142725.8920-1-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/drm_gpuvm.c
include/drm/drm_gpuvm.h

index 02ce6baacdad4b0a39a9e65aedb1ec5b0da57e40..08c088319652e60a7a29c1b3e3da77cb455e07c7 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0-only
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (c) 2022 Red Hat.
  *
index c7ed6bf441d4f4a50130db838232a524ce2b3838..bdfafc4a7705e1d67e14c4753cdb72b5cc5a49c7 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 
 #ifndef __DRM_GPUVM_H__
 #define __DRM_GPUVM_H__