aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_gpuvm.c
diff options
context:
space:
mode:
authorThomas Hellström <[email protected]>2023-10-10 14:27:24 +0000
committerThomas Hellström <[email protected]>2023-10-17 08:55:30 +0000
commitf7749a549b4f4db0c02e6b3d3800ea400dd76c12 (patch)
tree4e1393f1c31e0284ed11bb02c7a437d118d098aa /drivers/gpu/drm/drm_gpuvm.c
parentDocumentation/gpu: Add a VM_BIND async document (diff)
downloadkernel-f7749a549b4f4db0c02e6b3d3800ea400dd76c12.tar.gz
kernel-f7749a549b4f4db0c02e6b3d3800ea400dd76c12.zip
drm/gpuvm: Dual-licence the drm_gpuvm code GPL-2.0 OR MIT
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 <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Thomas Hellström <[email protected]> Acked-by: Danilo Krummrich <[email protected]> Reviewed-by: Francois Dugast <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_gpuvm.c')
-rw-r--r--drivers/gpu/drm/drm_gpuvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_gpuvm.c b/drivers/gpu/drm/drm_gpuvm.c
index 02ce6baacdad..08c088319652 100644
--- a/drivers/gpu/drm/drm_gpuvm.c
+++ b/drivers/gpu/drm/drm_gpuvm.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0-only
+// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
* Copyright (c) 2022 Red Hat.
*