Skip to contentSkip to conversation

drm/tidss: Add MIT license along with GPL-2.0

PATCH In review Devarsh Thakkar 9 participants 12 messages Sep 12, 2024 – Sep 16, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/tidss: Add MIT license along with GPL-2.0

Modify license to include dual licensing as GPL-2.0-only OR MIT license for tidss display driver. This allows other operating system ecosystems such as Zephyr and also the commercial firmwares to refer and derive code from this display driver in a more permissive manner.

---
 drivers/gpu/drm/tidss/Makefile            | 2 +-
 drivers/gpu/drm/tidss/tidss_crtc.c        | 2 +-
 drivers/gpu/drm/tidss/tidss_crtc.h        | 2 +-
 drivers/gpu/drm/tidss/tidss_dispc.c       | 2 +-
 drivers/gpu/drm/tidss/tidss_dispc.h       | 2 +-
 drivers/gpu/drm/tidss/tidss_dispc_regs.h  | 2 +-
 drivers/gpu/drm/tidss/tidss_drv.c         | 2 +-
 drivers/gpu/drm/tidss/tidss_drv.h         | 2 +-
 drivers/gpu/drm/tidss/tidss_encoder.c     | 2 +-
 drivers/gpu/drm/tidss/tidss_encoder.h     | 2 +-
 drivers/gpu/drm/tidss/tidss_irq.c         | 2 +-
 drivers/gpu/drm/tidss/tidss_irq.h         | 2 +-
 drivers/gpu/drm/tidss/tidss_kms.c         | 2 +-
 drivers/gpu/drm/tidss/tidss_kms.h         | 2 +-
 drivers/gpu/drm/tidss/tidss_plane.c       | 2 +-
 drivers/gpu/drm/tidss/tidss_plane.h       | 2 +-
 drivers/gpu/drm/tidss/tidss_scale_coefs.c | 2 +-
 drivers/gpu/drm/tidss/tidss_scale_coefs.h | 2 +-
 18 files changed, 18 insertions(+), 18 deletions(-)
drivers/gpu/drm/tidss/Makefile +1 -1
index 312645271014..c67ff32d02e1 100644
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0 OR MIT
 
 tidss-y := tidss_crtc.o \
 	tidss_drv.o \
drivers/gpu/drm/tidss/tidss_crtc.c +1 -1
index 94f8e3178df5..43dfbead9fa9 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_crtc.h +1 -1
index 040d1205496b..da03873e2ef0 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_dispc.c +1 -1
index 1ad711f8d2a8..3321a1c731b1 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Jyri Sarha <[email protected]>
drivers/gpu/drm/tidss/tidss_dispc.h +1 -1
index 086327d51a90..e6e4396a0d63 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_dispc_regs.h +1 -1
index 13feedfe5d6d..6e27b6d444ab 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Jyri Sarha <[email protected]>
drivers/gpu/drm/tidss/tidss_drv.c +1 -1
index d15f836dca95..b060e420ddec 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_drv.h +1 -1
index d7f27b0b0315..d4209234f59c 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_encoder.c +1 -1
index 17a86bed8054..9749fbc0e056 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_encoder.h +1 -1
index 3e561d6b1e83..85db3835a335 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_irq.c +1 -1
index 604334ef526a..51939744695a 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_irq.h +1 -1
index b512614d5863..cbfd684ecd26 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_kms.c +1 -1
index f371518f8697..05afd57b9128 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_kms.h +1 -1
index 632d79f5983f..69b6bca14550 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_plane.c +1 -1
index a5d86822c9e3..37ffaea15c73 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_plane.h +1 -1
index e933e158b617..3e00bc853813 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_scale_coefs.c +1 -1
index c2b84fea89a5..686ea63e0f45 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Jyri Sarha <[email protected]>
drivers/gpu/drm/tidss/tidss_scale_coefs.h +1 -1
index 9c560d0fdac0..4689109fe560 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Jyri Sarha <[email protected]>
Signature · 1 line
2.39.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Devarsh Thakkar

Modify license to include dual licensing as GPL-2.0-only OR MIT license for tidss display driver. This allows other operating system ecosystems such as Zephyr and also the commercial firmwares to refer and derive code from this display driver in a more permissive manner.

[ ... ]

Thanks!
Maxime

maintainer
#2 lore raw
Quoted 10 lines · Maxime Ripard
Quoted 7 lines · Devarsh Thakkar

Modify license to include dual licensing as GPL-2.0-only OR MIT license for tidss display driver. This allows other operating system ecosystems such as Zephyr and also the commercial firmwares to refer and derive code from this display driver in a more permissive manner.

[ ... ]

Also, we need the ack of all contributors to that driver, so my ack isn't enough to merge that patch.

Maxime

maintainer
#3 lore raw
Quoted 8 lines · Maxime Ripard
Quoted 7 lines · Maxime Ripard
Quoted 6 lines · Devarsh Thakkar

Modify license to include dual licensing as GPL-2.0-only OR MIT license for tidss display driver. This allows other operating system ecosystems such as Zephyr and also the commercial firmwares to refer and derive code from this display driver in a more permissive manner.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

[ ... ]

Also, we need the ack of all contributors to that driver, so my ack isn't enough to merge that patch.

IANAL, maybe a silly question: if someone from company XYZ has sent a patch for tidss, don't we then need an ack from someone in XYZ who's high enough in XYZ to allow changing the license for their code?

Tomi

#4 lore raw
Quoted 11 lines · Tomi Valkeinen
Quoted 10 lines · Maxime Ripard
Quoted 9 lines · Maxime Ripard
Quoted 7 lines · Devarsh Thakkar

Modify license to include dual licensing as GPL-2.0-only OR MIT license for tidss display driver. This allows other operating system ecosystems such as Zephyr and also the commercial firmwares to refer and derive code from this display driver in a more permissive manner.

[ ... ]

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

Also, we need the ack of all contributors to that driver, so my ack isn't enough to merge that patch.

IANAL, maybe a silly question: if someone from company XYZ has sent a patch for tidss, don't we then need an ack from someone in XYZ who's high enough in XYZ to allow changing the license for their code?

This patch needs to be acked by all copyright holders indeed. For contributions whose copyright has been assigned to other entities (such as work performed by employees for their employers), those other entities have to ack the license change. What constitutes a substantial enough contribution to be copyrightable is a question I won't attempt to answer.

Signature · 3 lines
Regards,

Laurent Pinchart
Acked-by on v1 1/1
#5 lore raw
In reply to Devarsh Thakkar
Quoted 6 lines · Devarsh Thakkar

Modify license to include dual licensing as GPL-2.0-only OR MIT license for tidss display driver. This allows other operating system ecosystems such as Zephyr and also the commercial firmwares to refer and derive code from this display driver in a more permissive manner.

My only contribution to this driver was through DRM refactorings, but anyways:

Quoted 201 lines
---
  drivers/gpu/drm/tidss/Makefile            | 2 +-
  drivers/gpu/drm/tidss/tidss_crtc.c        | 2 +-
  drivers/gpu/drm/tidss/tidss_crtc.h        | 2 +-
  drivers/gpu/drm/tidss/tidss_dispc.c       | 2 +-
  drivers/gpu/drm/tidss/tidss_dispc.h       | 2 +-
  drivers/gpu/drm/tidss/tidss_dispc_regs.h  | 2 +-
  drivers/gpu/drm/tidss/tidss_drv.c         | 2 +-
  drivers/gpu/drm/tidss/tidss_drv.h         | 2 +-
  drivers/gpu/drm/tidss/tidss_encoder.c     | 2 +-
  drivers/gpu/drm/tidss/tidss_encoder.h     | 2 +-
  drivers/gpu/drm/tidss/tidss_irq.c         | 2 +-
  drivers/gpu/drm/tidss/tidss_irq.h         | 2 +-
  drivers/gpu/drm/tidss/tidss_kms.c         | 2 +-
  drivers/gpu/drm/tidss/tidss_kms.h         | 2 +-
  drivers/gpu/drm/tidss/tidss_plane.c       | 2 +-
  drivers/gpu/drm/tidss/tidss_plane.h       | 2 +-
  drivers/gpu/drm/tidss/tidss_scale_coefs.c | 2 +-
  drivers/gpu/drm/tidss/tidss_scale_coefs.h | 2 +-
  18 files changed, 18 insertions(+), 18 deletions(-)
drivers/gpu/drm/tidss/Makefile +1 -1
index 312645271014..c67ff32d02e1 100644
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0 OR MIT
 
  tidss-y := tidss_crtc.o \
  	tidss_drv.o \
drivers/gpu/drm/tidss/tidss_crtc.c +1 -1
index 94f8e3178df5..43dfbead9fa9 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
  /*
   * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_crtc.h +1 -1
index 040d1205496b..da03873e2ef0 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
  /*
   * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_dispc.c +1 -1
index 1ad711f8d2a8..3321a1c731b1 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
  /*
   * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Jyri Sarha <[email protected]>
drivers/gpu/drm/tidss/tidss_dispc.h +1 -1
index 086327d51a90..e6e4396a0d63 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
  /*
   * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_dispc_regs.h +1 -1
index 13feedfe5d6d..6e27b6d444ab 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
  /*
   * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Jyri Sarha <[email protected]>
drivers/gpu/drm/tidss/tidss_drv.c +1 -1
index d15f836dca95..b060e420ddec 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
  /*
   * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_drv.h +1 -1
index d7f27b0b0315..d4209234f59c 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
  /*
   * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_encoder.c +1 -1
index 17a86bed8054..9749fbc0e056 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
  /*
   * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_encoder.h +1 -1
index 3e561d6b1e83..85db3835a335 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
  /*
   * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_irq.c +1 -1
index 604334ef526a..51939744695a 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
  /*
   * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_irq.h +1 -1
index b512614d5863..cbfd684ecd26 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
  /*
   * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_kms.c +1 -1
index f371518f8697..05afd57b9128 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
  /*
   * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_kms.h +1 -1
index 632d79f5983f..69b6bca14550 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
  /*
   * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_plane.c +1 -1
index a5d86822c9e3..37ffaea15c73 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
  /*
   * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_plane.h +1 -1
index e933e158b617..3e00bc853813 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
  /*
   * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_scale_coefs.c +1 -1
index c2b84fea89a5..686ea63e0f45 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
  /*
   * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Jyri Sarha <[email protected]>
drivers/gpu/drm/tidss/tidss_scale_coefs.h +1 -1
index 9c560d0fdac0..4689109fe560 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
  /*
   * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
   * Author: Jyri Sarha <[email protected]>
#6 lore raw

Hello,

Quoted 6 lines · Danilo Krummrich
Quoted 5 lines · Devarsh Thakkar

Modify license to include dual licensing as GPL-2.0-only OR MIT license for tidss display driver. This allows other operating system ecosystems such as Zephyr and also the commercial firmwares to refer and derive code from this display driver in a more permissive manner.

Quoted 6 lines
Quoted 1 line

My only contribution to this driver was through DRM refactorings, but anyways:

Similar for me. I only touched one of the affected files with a refactoring change (34cdd1f691ade28abd36ce3cab8f9d442f43bf3f). I don't assume this gives me any copyright to that driver, but to simplify things:

Best regards
Uwe

#7 lore raw
Quoted 14 lines · Uwe Kleine-König

Hello,

Quoted 11 lines · Danilo Krummrich
Quoted 6 lines · Devarsh Thakkar

Modify license to include dual licensing as GPL-2.0-only OR MIT license for tidss display driver. This allows other operating system ecosystems such as Zephyr and also the commercial firmwares to refer and derive code from this display driver in a more permissive manner.

My only contribution to this driver was through DRM refactorings, but anyways:

Quoted 9 lines
Quoted 1 line

Similar for me. I only touched one of the affected files with a refactoring change (34cdd1f691ade28abd36ce3cab8f9d442f43bf3f). I don't assume this gives me any copyright to that driver, but to simplify things:

Similar for me too. My only change to this driver I think was to add DRM panic support in commit b2cb6011bcaf ("drm/tidss: Add drm_panic support").

But I'm also OK with the change, so:

Signature · 5 lines
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat
#8 lore raw
Quoted 21 lines · Javier Martinez Canillas
Quoted 19 lines · Uwe Kleine-König
Quoted 6 lines · Danilo Krummrich
Quoted 5 lines · Devarsh Thakkar

Modify license to include dual licensing as GPL-2.0-only OR MIT license for tidss display driver. This allows other operating system ecosystems such as Zephyr and also the commercial firmwares to refer and derive code from this display driver in a more permissive manner.

Quoted 6 lines
Quoted 1 line

My only contribution to this driver was through DRM refactorings, but anyways:

Similar for me. I only touched one of the affected files with a refactoring change (34cdd1f691ade28abd36ce3cab8f9d442f43bf3f). I don't assume this gives me any copyright to that driver, but to simplify things:

Quoted 8 lines
Quoted 1 line

Similar for me too. My only change to this driver I think was to add DRM panic support in commit b2cb6011bcaf ("drm/tidss: Add drm_panic support").

But I'm also OK with the change, so:

Similar for me, just a forgotten comment update.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
#10 lore raw
In reply to Devarsh Thakkar

Hi Devarsh,

Quoted 3 lines · Devarsh Thakkar

Modify license to include dual licensing as GPL-2.0-only OR MIT license for tidss display driver. This allows other operating system ecosystems such as Zephyr and also the commercial firmwares to refer and derive code from this

GPL-2.0 isn't incompatible with "commercial". I think you mean "proprietary" here.

Quoted 1 line

display driver in a more permissive manner.

How do you envision that to work ? Zephyr doesn't have KMS, so you can't use the driver as-is. What exactly would TI want to use from the Linux kernel driver ?

Personally, there's a reason why I contribute code to the kernel under the GPL-2.0 license, it is to make sure the code will remain open. While I can accept other licenses on a case-by-case basis, I don't like the casual approach of this patch that seem (to me) to imply that the license is a mere detail. For a start I would like to know what "commercial firmwares" you're thinking about.

Quoted 202 lines
---
 drivers/gpu/drm/tidss/Makefile            | 2 +-
 drivers/gpu/drm/tidss/tidss_crtc.c        | 2 +-
 drivers/gpu/drm/tidss/tidss_crtc.h        | 2 +-
 drivers/gpu/drm/tidss/tidss_dispc.c       | 2 +-
 drivers/gpu/drm/tidss/tidss_dispc.h       | 2 +-
 drivers/gpu/drm/tidss/tidss_dispc_regs.h  | 2 +-
 drivers/gpu/drm/tidss/tidss_drv.c         | 2 +-
 drivers/gpu/drm/tidss/tidss_drv.h         | 2 +-
 drivers/gpu/drm/tidss/tidss_encoder.c     | 2 +-
 drivers/gpu/drm/tidss/tidss_encoder.h     | 2 +-
 drivers/gpu/drm/tidss/tidss_irq.c         | 2 +-
 drivers/gpu/drm/tidss/tidss_irq.h         | 2 +-
 drivers/gpu/drm/tidss/tidss_kms.c         | 2 +-
 drivers/gpu/drm/tidss/tidss_kms.h         | 2 +-
 drivers/gpu/drm/tidss/tidss_plane.c       | 2 +-
 drivers/gpu/drm/tidss/tidss_plane.h       | 2 +-
 drivers/gpu/drm/tidss/tidss_scale_coefs.c | 2 +-
 drivers/gpu/drm/tidss/tidss_scale_coefs.h | 2 +-
 18 files changed, 18 insertions(+), 18 deletions(-)
drivers/gpu/drm/tidss/Makefile +1 -1
index 312645271014..c67ff32d02e1 100644
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0 OR MIT
 
 tidss-y := tidss_crtc.o \
 	tidss_drv.o \
drivers/gpu/drm/tidss/tidss_crtc.c +1 -1
index 94f8e3178df5..43dfbead9fa9 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_crtc.h +1 -1
index 040d1205496b..da03873e2ef0 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_dispc.c +1 -1
index 1ad711f8d2a8..3321a1c731b1 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Jyri Sarha <[email protected]>
drivers/gpu/drm/tidss/tidss_dispc.h +1 -1
index 086327d51a90..e6e4396a0d63 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_dispc_regs.h +1 -1
index 13feedfe5d6d..6e27b6d444ab 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Jyri Sarha <[email protected]>
drivers/gpu/drm/tidss/tidss_drv.c +1 -1
index d15f836dca95..b060e420ddec 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_drv.h +1 -1
index d7f27b0b0315..d4209234f59c 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_encoder.c +1 -1
index 17a86bed8054..9749fbc0e056 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_encoder.h +1 -1
index 3e561d6b1e83..85db3835a335 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_irq.c +1 -1
index 604334ef526a..51939744695a 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_irq.h +1 -1
index b512614d5863..cbfd684ecd26 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_kms.c +1 -1
index f371518f8697..05afd57b9128 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_kms.h +1 -1
index 632d79f5983f..69b6bca14550 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_plane.c +1 -1
index a5d86822c9e3..37ffaea15c73 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_plane.h +1 -1
index e933e158b617..3e00bc853813 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Tomi Valkeinen <[email protected]>
drivers/gpu/drm/tidss/tidss_scale_coefs.c +1 -1
index c2b84fea89a5..686ea63e0f45 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR MIT
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Jyri Sarha <[email protected]>
drivers/gpu/drm/tidss/tidss_scale_coefs.h +1 -1
index 9c560d0fdac0..4689109fe560 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
 /*
  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  * Author: Jyri Sarha <[email protected]>
Signature · 3 lines
Regards,

Laurent Pinchart
#11 lore raw

Hi Laurent,

Thanks for the quick review.

Quoted 10 lines · Laurent Pinchart

Hi Devarsh,

Quoted 3 lines · Devarsh Thakkar

Modify license to include dual licensing as GPL-2.0-only OR MIT license for tidss display driver. This allows other operating system ecosystems such as Zephyr and also the commercial firmwares to refer and derive code from this

GPL-2.0 isn't incompatible with "commercial". I think you mean "proprietary" here.

Yes, GPL-2.0 is not incompatible to commercial but there is an enforecement that derivative code needs to be GPL-2.0 licensed which may not fit well for projects which are not using GPL-2.0 license. But yes MIT will also help proprietary code, so I agree it is good to mention the same in commit message.

Quoted 6 lines
Quoted 1 line

display driver in a more permissive manner.

How do you envision that to work ? Zephyr doesn't have KMS, so you can't use the driver as-is. What exactly would TI want to use from the Linux kernel driver ?

Not the DRM/KMS part, but the tidss specific display controller programming is the main point of interest. For e.g. At this point, mostly I see that the TI customers are interested to re-use/derive code from u-boot tidss driver [1] which is quite simple and use it in their test application or RTOS based offerring which is non-GPL code. Since their test application has much more code apart from the display part, which is non-GPL, they can't use GPL license.

Now since the u-boot tidss driver is derived from kernel tidss driver, my understanding was that we need to change the license of kernel tidss driver first before changing the u-boot tidss driver.

Quoted 7 lines

Personally, there's a reason why I contribute code to the kernel under the GPL-2.0 license, it is to make sure the code will remain open. While I can accept other licenses on a case-by-case basis, I don't like the casual approach of this patch that seem (to me) to imply that the license is a mere detail. For a start I would like to know what "commercial firmwares" you're thinking about.

Understood, let me know if above information suffice or any further information is needed.

[1]:
https://gitlab.com/u-boot/u-boot/-/blob/master/drivers/video/tidss/tidss_drv.c?ref_type=heads

Regards
Devarsh