4 ms·
"The drm/i915 driver is now mostly based on the Linux 3.8.13 implementation and is no longer similar to the FreeBSD driver. Many Linux APIs and data structures
by ash 12y ago
"The drm/i915 driver is now mostly based on the Linux 3.8.13 implementation and is no longer similar to the FreeBSD driver. Many Linux APIs and data structures have been implemented in the DragonFly kernel in order to reuse as many parts as possible of the Linux drm/i915 code without modifications."
I was wondering how did they deal with licensing issue. I thought Linux drivers are all under GPL. And DragonFly is (obviously) under BSD. Then I've noticed gpu/drm/i915 has a permissive (MIT?) license. E.g.:
https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/i915/i915_drv.c https://github.com/torvalds/linux/blob/master/drivers/gpu/dr...
Is it true for everything else under gpu/drm directory? What license does DRM have?
- ftigeot 12y agoThe DRM code itself as well as most of the drm drivers is under a MIT/X11 license. It was only integrated in Linux in 2008 (not 100% sure of the date) and was maintained in a separate tree before that. It also had to be compatible with X11, hence the choice of license.
- glass- 12y ago> I thought Linux drivers are all under GPL. Nope, in fact some of Linux's drivers are licensed with the old-style BSD license with the advertising clause: https://github.com/torvalds/linux/search?q=%22advertising+materials%22&type=Code https://github.com/torvalds/linux/search?q=%22advertising+ma...