dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* drm core/helpers and MIT license
@ 2019-11-12 15:03 Daniel Vetter
  2019-11-14  8:43 ` Simon Ser
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Daniel Vetter @ 2019-11-12 15:03 UTC (permalink / raw)
  To: dri-devel, intel-gfx, amd-gfx list, VMware Graphics,
	Alex Deucher, Joonas Lahtinen, Rodrigo Vivi, Nikula, Jani,
	Thomas Hellstrom, Christian König

Hi all,

Dave and me chatted about this last week on irc. Essentially we have:

$ git grep SPDX.*GPL -- ':(glob)drivers/gpu/drm/*c'
drivers/gpu/drm/drm_client.c:// SPDX-License-Identifier: GPL-2.0
drivers/gpu/drm/drm_damage_helper.c:// SPDX-License-Identifier: GPL-2.0 OR MIT
drivers/gpu/drm/drm_dp_cec.c:// SPDX-License-Identifier: GPL-2.0
drivers/gpu/drm/drm_edid_load.c:// SPDX-License-Identifier: GPL-2.0-or-later
drivers/gpu/drm/drm_fb_cma_helper.c:// SPDX-License-Identifier: GPL-2.0-or-later
drivers/gpu/drm/drm_format_helper.c:/* SPDX-License-Identifier: GPL-2.0 */
drivers/gpu/drm/drm_gem_cma_helper.c:// SPDX-License-Identifier:
GPL-2.0-or-later
drivers/gpu/drm/drm_gem_framebuffer_helper.c://
SPDX-License-Identifier: GPL-2.0-or-later
drivers/gpu/drm/drm_gem_shmem_helper.c:// SPDX-License-Identifier: GPL-2.0
drivers/gpu/drm/drm_gem_ttm_helper.c:// SPDX-License-Identifier:
GPL-2.0-or-later
drivers/gpu/drm/drm_gem_vram_helper.c:// SPDX-License-Identifier:
GPL-2.0-or-later
drivers/gpu/drm/drm_hdcp.c:// SPDX-License-Identifier: GPL-2.0
drivers/gpu/drm/drm_lease.c:// SPDX-License-Identifier: GPL-2.0-or-later
drivers/gpu/drm/drm_mipi_dbi.c:// SPDX-License-Identifier: GPL-2.0-or-later
drivers/gpu/drm/drm_of.c:// SPDX-License-Identifier: GPL-2.0-only
drivers/gpu/drm/drm_simple_kms_helper.c:// SPDX-License-Identifier:
GPL-2.0-or-later
drivers/gpu/drm/drm_sysfs.c:// SPDX-License-Identifier: GPL-2.0-only
drivers/gpu/drm/drm_vma_manager.c:// SPDX-License-Identifier: GPL-2.0 OR MIT
drivers/gpu/drm/drm_vram_helper_common.c:// SPDX-License-Identifier:
GPL-2.0-or-later
drivers/gpu/drm/drm_writeback.c:// SPDX-License-Identifier: GPL-2.0

One is GPL+MIT, so ok, and one is a default GPL-only header from
Greg's infamous patch (so could probably be changed to MIT license
header). I only looked at .c sources, since headers are worse wrt
having questionable default headers. So about 18 files with clear GPL
licenses thus far in drm core/helpers.

Looking at where that code came from, it is mostly from GPL-only
drivers (we have a lot of those nowadays), so seems legit non-MIT
licensed. Question is now what do we do:

- Nothing, which means GPL will slowly encroach on drm core/helpers,
which is roughly the same as ...

- Throw in the towel on MIT drm core officially. Same as above, except
lets just make it official.

- Try to counter this, which means at least a) relicensing a bunch of
stuff b) rewriting a bunch of stuff c) making sure that's ok with
everyone, there's a lot of GPL-by-default for the kernel (that's how
we got most of the above code through merged drivers I think). I
suspect that whomever cares will need to put in the work to make this
happen (since it will need a pile of active resistance at least).

Cc maintainers/driver teams who might care most about this.

Also if people could cc *bsd, they probably care and I don't know best
contacts for graphics stuff (or anything else really at all).

Cheers, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: drm core/helpers and MIT license
@ 2019-11-14 20:01 coypu
  2019-11-15  9:06 ` Daniel Vetter
  2019-11-15 12:34 ` Ville Syrjälä
  0 siblings, 2 replies; 12+ messages in thread
From: coypu @ 2019-11-14 20:01 UTC (permalink / raw)
  To: dri-devel; +Cc: daniel.vetter

Hi Daniel,

I don't think we can make any complaints about GPL being more widely
used in the DRM code. It's nice to have the code at all, the MIT license
is a bonus. Thanks for writing it and bearing with us.

Would rewrites done purely for licensing reasons be accepted upstream?
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-11-18 15:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-12 15:03 drm core/helpers and MIT license Daniel Vetter
2019-11-14  8:43 ` Simon Ser
     [not found] ` <CAKMK7uH-8+tbKsAoiChsxELEc_77RVVxP2wapHWhqB+0Viifog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-11-15 15:38   ` Alex Deucher
2019-11-15 15:38     ` Alex Deucher
2019-11-16 12:12 ` Emmanuel Vadot
2019-11-14 20:01 coypu
2019-11-15  9:06 ` Daniel Vetter
2019-11-15 12:34 ` Ville Syrjälä
2019-11-15 14:33   ` Noralf Trønnes
2019-11-16 11:57     ` Emmanuel Vadot
2019-11-16 13:37       ` Noralf Trønnes
2019-11-18 15:22   ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).