Arguably the hardest part (which happens to be the sticking point for the BSDs, etc.) is the memory manager (TTM or GEM). It's requires interacting with the OSes memory management code which is often very complex and non-portable. The rest of the code (modesetting, command submission, etc.) can be re-used more or less directly.
Announcement
Collapse
No announcement yet.
The Sad State Of GPU Drivers For BSD, Solaris
Collapse
X
-
-
The real issue about copying for the most part isn't the xorg bits though. They are generally licensed pretty well. Its the Linux kernel and Linux interface bits that xorg has relied more and more on that tend to ruffle the *BSD devers feathers (read the commit about removing the xf86config code where it says at the end "...besides every linux distro has a way to set it anyway." and the following argument on that over at daemon forums). The simple reason is due to how the GPL is structured it does not fit into their license so they cant really borrow anything except maybe concepts from Linux. A great example was the Atheros drivers. The base for the working ones started on FreeBSD, then they were grabbed by Linux and all the BSD code was wrapped in a layer of GPL and they cant take any improvements back from the Linux version of the driver, Now that starts another holy war that is too long for this post (BSD gets code back freely from the people Linux is so afraid of stealing their code, vice versa, ad nauseum) but I wont go into that.
But to get back on track they have wanted kernel mode setting for a while, many people have looked at trying to port the linux one but there just isnt enough graphical brain trust in the BSD community, hell most of Linux's graphics stack seems to have a lot of people that work at the manufacturers. BSD does try to keep current, hell they actually addressed Nvidias memory management concerns to bring the nvidia binaries over, but its a matter of man power, and instead of damning them because they dont have the shiniest new toy or interface because you churn your APIs/ABIs faster than anyone could ever hope to port them, how bout lending a hand to the guy Linux also benefits off of. Linux has borrowed a lot from the BSDs and has given very little back (mostly because you have to re-license to give back and the "OHH NOEZ SOME ONES WILL STEALZ MY CODE!!!1!!1!!" syndrome comes in) Hell one of the few times in recent memory BSD tried to use something from Linux as a framework (they didnt even take the code they just were inspired by the driver and tried to rewrite it) one of the B43xx devers came over and pissed right in their cornflakes until they stopped their version of the driver because he was hoping to get a sweet gig at broadcom. but I am ranting at this point </rant>
Comment
-
Originally posted by kusuriya View PostA great example was the Atheros drivers. The base for the working ones started on FreeBSD, then they were grabbed by Linux and all the BSD code was wrapped in a layer of GPL and they cant take any improvements back from the Linux version of the driver, Now that starts another holy war that is too long for this post (BSD gets code back freely from the people Linux is so afraid of stealing their code, vice versa, ad nauseum) but I wont go into that.
The whole point behind the BSD license is to allow the use of their code by people who don't want (or are unable) to contribute back. Seriously. That's the one and only point to their entire license. And yet, as soon as someone from Linux comes in and uses the license in the manner it was designed for, all the BSD folks start grabbing pitchforks and complaining about how unfair it is.
If you want to make sure people who grab your code contribute back to it, use a different license. Like, say, the GPL.
Comment
-
Originally posted by smitty3268 View PostNot to turn this into a license holy war, but that kind of hypocritical nonsense really pisses me off.
The whole point behind the BSD license is to allow the use of their code by people who don't want (or are unable) to contribute back. Seriously. That's the one and only point to their entire license. And yet, as soon as someone from Linux comes in and uses the license in the manner it was designed for, all the BSD folks start grabbing pitchforks and complaining about how unfair it is.
If you want to make sure people who grab your code contribute back to it, use a different license. Like, say, the GPL.Last edited by kusuriya; 10 September 2011, 06:06 PM.
Comment
-
Originally posted by kusuriya View PostAnd you sir missed the point. They are not miffed that the code got taken, it happens. What they are miffed by is the attitude when they ask to get some of it back
Then it makes them more mad because the companies that do borrow from BSD tend to give back and its a very openly recorded 2 way street for them, but linux tends to be a black hole.
Comment
-
Originally posted by smitty3268 View PostIt seems you are the one who missed the point. BSD license. That's the point. Please read it again.
Originally posted by smitty3268 View PostNo, most companies just take the code silently and you never know. You only hear about the companies that contribute back. The difference is that Linux is open so you know about it.
Comment
-
Originally posted by kusuriya View PostActually that's not really the point of the BSD licenses. Its actually an academic license that mandates you give credit where its due if you use it. Feel free to read the history on it before trying to decide what the point of the license is. and you still missed the point about the reference I was using. Feel free to reread my point and come back when you get it.
That is patently false. look at the many companies that have been caught sneaking GPL code, I'm willing to bet that's less than 1% of the ones that do it. BSD well before linux ever got the corporate backing it did had better contribution rates from corporations, now mind you 1% is still better than 0% and it was low. But code theft is a fact of life for Open Source no matter what license you use. To think otherwise is naive, all the GPL does is manages to hold the company hostage when they do get caught and give them incentive to never get caught.
You are correct that a lot of people steal GPL code anyway, but for the most part people just ignore it if they can't use it.
Comment
Comment