* [PATCH] drm/gpuvm: Dual-licence the drm_gpuvm code GPL-2.0 OR MIT
@ 2023-10-10 14:27 Thomas Hellström
2023-10-17 7:54 ` Danilo Krummrich
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Hellström @ 2023-10-10 14:27 UTC (permalink / raw)
To: intel-xe, dri-devel
Cc: Thomas Hellström, Danilo Krummrich, airlied, daniel,
linux-kernel
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>
---
drivers/gpu/drm/drm_gpuvm.c | 2 +-
include/drm/drm_gpuvm.h | 2 +-
2 files changed, 2 insertions(+), 2 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.
*
diff --git a/include/drm/drm_gpuvm.h b/include/drm/drm_gpuvm.h
index 361fea5cb849..21bbf11415b3 100644
--- a/include/drm/drm_gpuvm.h
+++ b/include/drm/drm_gpuvm.h
@@ -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__
--
2.41.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/gpuvm: Dual-licence the drm_gpuvm code GPL-2.0 OR MIT
2023-10-10 14:27 [PATCH] drm/gpuvm: Dual-licence the drm_gpuvm code GPL-2.0 OR MIT Thomas Hellström
@ 2023-10-17 7:54 ` Danilo Krummrich
2023-10-17 8:14 ` Thomas Hellström
0 siblings, 1 reply; 4+ messages in thread
From: Danilo Krummrich @ 2023-10-17 7:54 UTC (permalink / raw)
To: Thomas Hellström; +Cc: intel-xe, dri-devel, airlied, daniel, linux-kernel
On Tue, Oct 10, 2023 at 04:27:24PM +0200, Thomas Hellström wrote:
> 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>
> ---
> drivers/gpu/drm/drm_gpuvm.c | 2 +-
> include/drm/drm_gpuvm.h | 2 +-
> 2 files changed, 2 insertions(+), 2 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.
> *
> diff --git a/include/drm/drm_gpuvm.h b/include/drm/drm_gpuvm.h
> index 361fea5cb849..21bbf11415b3 100644
> --- a/include/drm/drm_gpuvm.h
> +++ b/include/drm/drm_gpuvm.h
> @@ -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__
> --
> 2.41.0
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/gpuvm: Dual-licence the drm_gpuvm code GPL-2.0 OR MIT
2023-10-17 7:54 ` Danilo Krummrich
@ 2023-10-17 8:14 ` Thomas Hellström
2023-10-17 8:48 ` [Intel-xe] " Francois Dugast
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Hellström @ 2023-10-17 8:14 UTC (permalink / raw)
To: Danilo Krummrich; +Cc: intel-xe, dri-devel, airlied, daniel, linux-kernel
On 10/17/23 09:54, Danilo Krummrich wrote:
> On Tue, Oct 10, 2023 at 04:27:24PM +0200, Thomas Hellström wrote:
>> 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>
Thanks, Danilo
Thomas
>
>> ---
>> drivers/gpu/drm/drm_gpuvm.c | 2 +-
>> include/drm/drm_gpuvm.h | 2 +-
>> 2 files changed, 2 insertions(+), 2 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.
>> *
>> diff --git a/include/drm/drm_gpuvm.h b/include/drm/drm_gpuvm.h
>> index 361fea5cb849..21bbf11415b3 100644
>> --- a/include/drm/drm_gpuvm.h
>> +++ b/include/drm/drm_gpuvm.h
>> @@ -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__
>> --
>> 2.41.0
>>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Intel-xe] [PATCH] drm/gpuvm: Dual-licence the drm_gpuvm code GPL-2.0 OR MIT
2023-10-17 8:14 ` Thomas Hellström
@ 2023-10-17 8:48 ` Francois Dugast
0 siblings, 0 replies; 4+ messages in thread
From: Francois Dugast @ 2023-10-17 8:48 UTC (permalink / raw)
To: Thomas Hellström
Cc: Danilo Krummrich, daniel, airlied, intel-xe, dri-devel,
linux-kernel
On Tue, Oct 17, 2023 at 10:14:59AM +0200, Thomas Hellström wrote:
>
> On 10/17/23 09:54, Danilo Krummrich wrote:
> > On Tue, Oct 10, 2023 at 04:27:24PM +0200, Thomas Hellström wrote:
> > > 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>
As this was acked by author:
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
>
> Thanks, Danilo
>
> Thomas
>
>
> >
> > > ---
> > > drivers/gpu/drm/drm_gpuvm.c | 2 +-
> > > include/drm/drm_gpuvm.h | 2 +-
> > > 2 files changed, 2 insertions(+), 2 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.
> > > *
> > > diff --git a/include/drm/drm_gpuvm.h b/include/drm/drm_gpuvm.h
> > > index 361fea5cb849..21bbf11415b3 100644
> > > --- a/include/drm/drm_gpuvm.h
> > > +++ b/include/drm/drm_gpuvm.h
> > > @@ -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__
> > > --
> > > 2.41.0
> > >
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-10-17 8:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-10 14:27 [PATCH] drm/gpuvm: Dual-licence the drm_gpuvm code GPL-2.0 OR MIT Thomas Hellström
2023-10-17 7:54 ` Danilo Krummrich
2023-10-17 8:14 ` Thomas Hellström
2023-10-17 8:48 ` [Intel-xe] " Francois Dugast
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox