Announcement

Collapse
No announcement yet.

Linux 5.12 Coming In At Around 28.8 Million Lines, AMDGPU Driver Closing In On 3 Million

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linux 5.12 Coming In At Around 28.8 Million Lines, AMDGPU Driver Closing In On 3 Million

    Phoronix: Linux 5.12 Coming In At Around 28.8 Million Lines, AMDGPU Driver Closing In On 3 Million

    The Linux kernel source tree following the eventful 5.12 merge window is at 28.81 million lines in the source tree across more than sixty thousand files. The largest in-tree kernel driver continues to be the AMDGPU kernel driver, which in the next kernel release or so should be crossing three million lines...

    http://www.phoronix.com/scan.php?pag...-rc1-Code-Size

  • #2
    Originally posted by phoronix View Post
    The largest in-tree kernel driver continues to be the AMDGPU kernel driver, which in the next kernel release or so should be crossing three million lines...
    Dear Nvidia, if you ever decide to support the FOSS community, please check in with AMD first to learn how it's done.

    Comment


    • #3
      More than 10% of the kernel is devoted to one company!!??

      Comment


      • #4
        the people have to remember: the FGLRX closed source AMD/ATI driver alone was 54 million lines of code.

        compared to this the open-source driver is a joke: "AMDGPU Driver Closing In On 3 Million"
        even if you also count in the MESA numbers. https://www.phoronix.com/scan.php?pa...ranching-Stats
        MESA for all drivers is ~3 million lines of code.
        this means it is 6 million lines of code vs 54million lines of code.
        this means AMD saves a lot of developers because you need more developers for 54 million lines of code than only do 6 million.

        right now in germany you pay 1600€ for a 6900XT and 2700€ for a Nvidia 3090.... what is 1100€ more for nearly the same performance.

        this means if someone ask why is Nvidia so expensive... well the 54 million lines of code of the FGLRX is a joke compared to the Nvidia Closed Source driver...

        Soon AMD will have CDNA chiplet design what drops the price another 30%... and i think they can do this:

        i have a good idea about chiplet design for radeon cards.
        we all know that chiplet design is very hard to do for realtime 3D graphic's and you do chiplet for the next generation CDNA.
        why not build a graphic card like this: you put one RDNA chip on the card and one CDNA chip
        then you do graphics on the RDNA chip
        and all the compute stuff on the CDNA chip like: game physics or AI of the NPC in the games
        games become more and more complex with complex physic and more and more AI for the NPC characters of the game.
        if you do cards with both one RDNA and one CDNA chip you can also win gamers who do mining if they don't play games.

        people will buy it even if there is only one good game like cyberpunk2077 for it.

        in this way you can do chiplet design without the need of having multible RDNA gpu chips on the card.

        Comment


        • #5
          Originally posted by Ronshere View Post
          More than 10% of the kernel is devoted to one company!!??
          There's enormous seperation between writing the graphics drivers (Where AMD's big numbers come from) and normal kernel development. The sheer complexity of graphics drivers and the fact they support their entire product stack with it is what inflates their LOC.

          Comment


          • #6
            Hm... AMD's driver has quite a lot of lines of code, but still sucks for compute support and many features available in the Windows driver have not even been implemented.

            Comment


            • #7
              That's why I only use Linux kernel 0.01 - anything larger than 71k is bloat: https://mirrors.edge.kernel.org/pub/...rnel/Historic/

              Comment


              • #8
                Originally posted by andyprough View Post
                That's why I only use Linux kernel 0.01 - anything larger than 71k is bloat: https://mirrors.edge.kernel.org/pub/...rnel/Historic/
                can you actually run this in a VM?

                Comment


                • #9
                  Originally posted by andyprough View Post
                  That's why I only use Linux kernel 0.01 - anything larger than 71k is bloat: https://mirrors.edge.kernel.org/pub/...rnel/Historic/
                  71k? Too bloated for me still.

                  Comment


                  • #10
                    Originally posted by Ronshere View Post
                    More than 10% of the kernel is devoted to one company!!??
                    Most of this code was generated

                    Comment

                    Working...
                    X