Originally posted by Leinad
View Post
I only have older kernel code handy on this computer but looking at that code the AMD code size is a bit over 2x the size of Intel's code, which makes sense given the much wider range of hardware we support.
Our header files are much larger, however - the main differences are:
1. We don't compress the header files for different hardware products into a single file to eliminate registers that might not have changed between generations
2. We have a lot more significantly different hardware generations supported by the same driver
3. We include nearly all registers in the header files, not just the ones currently used by the driver
Again, header file size only contributes to source code size on a developer's system, not to the size of the built driver.
Comment