Well its bits of both really.
I wrote AST, then took the MGA and next cirrus code from mjg based on your code, I then transmuted them and caluclated their load bearing tangents. (Sorry watching peppa pig), I then remodeled the mga/cirrus code to look like my AST code and used the same memory management scheme as my AST code, so all 3 drivers nearly look the same apart from the crtc mode setting and gpu init functions :-)
Wow, so in a few years I might be able to dust off my matrox G400 and have KMS for that card?
Stop TCPA, stupid software patents and corrupt politicians!
is it good to copy that much code? maybe combine em into one driver?
Also, you can do things like power down the graphics chip during DPMS to save energy. And since it's a server that's not typically attached to a monitor, that's basically always.
ZzzzzzzZZzzzzz.... if only RadeonSI got as much love as 14 year old hardware...
I could point out that HD7xxx has had KMS support for a while (ie a whole pile more love already) but I imagine what you really mean is "if only radeonsi got 1000x more love than 14 year old hardware instead of the 100x or so it gets today" so that the high level of functionality expected for the new card could be implemented as quickly as the modesetting-only expectations for 14 year old hardware" ?
Last edited by bridgman; 04-27-2012 at 07:18 PM.