> 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+ma...
The 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.
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/dr...
Is it true for everything else under gpu/drm directory? What license does DRM have?