Originally posted by gamerk2
View Post
Announcement
Collapse
No announcement yet.
AMD's Kernel Graphics Code Is Approaching One Million Lines
Collapse
X
-
Originally posted by CrystalGamma View PostWhy are there 6 times as many lines in header files than source files?
Why does the AMDGPU driver contain more lines than all the others combined? I mean Intel graphics and radeon are full-featured (shader, video en-/decoding, display) drivers as well, so why does AMDGPU need that many additional lines? Is this a code quality issue like with DC, just to a lesser extent?
It's a non-issue. Nobody cares how big those header files get.
Note that if you look at lines of c/c++ code, the driver is in line with the others:
amd: 135k
radeon: 120k
intel: 110k
nouveau: 95k
Last edited by smitty3268; 13 April 2017, 02:36 PM.
- Likes 8
Comment
-
Originally posted by smitty3268 View Post
Header files = code comments + lots of register defines.
It's a non-issue. Nobody cares how big those header files get.
Note that if you look at lines of c/c++ code, the driver is in line with the others:
amd: 135k
radeon: 120k
intel: 110k
nouveau: 95k
Comment
-
Originally posted by Qaridarium
If i want to buy a 1080TI or Fury X PCIe3.0-16X card and if i only consider this as a Full-Featured GPU i will not find any Intel product in this class of hardware. Full-Featured hardware means: PCIe 16X card.
Comment
-
Originally posted by gamerk2 View Post
Exhibit A why Linux desperately needs a working HAL. A stable driver ABI wouldn't hurt either.
At that point, both Windows and Linux had reworked their USB driver support three times. The difference was, Windows still carried around the debris from those previous attempts, for backward compatibility to avoid breaking older drivers. Linux didn’t have to, since all the in-tree drivers could be updated at the same time as the underlying architecture was redone.
And that is yet another reason why Linux can run so much more efficiently than Windows on the same hardware, and why Linux development can proceed so much faster than Windows.
- Likes 2
Comment
-
Originally posted by Marc Driftmeyer View Post
Correct. This is something a first quarter/semester C student learns regarding code size.
Comment
Comment