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

  • #11
    Originally posted by Danny3 View Post
    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.
    Ok. The only alternative is Nvidia. Do we want to do a comparison with the state of Nouveau driver? I don't think you want to go there, lol.

    Comment


    • #12
      Originally posted by Ronshere View Post
      More than 10% of the kernel is devoted to one company!!??
      a lot of automatically generated lines for GPU registers... nature of the beast. plus graphics in general seem a messy IP/architecture/ecosystem compared to other hardware...

      Comment


      • #13
        Our header files also used to be quite a bit smaller before community developers asked us to include header info for all of the registers we could, not just the registers that the driver was currently using.

        BTW the register header files are not auto-generated in the generally accepted sense (a small amount of code goes through some kind of processing to produce a larger amount of code), but rather are extracted from our HW source code.
        Last edited by bridgman; 01 March 2021, 08:46 PM.
        Test signature

        Comment


        • #14
          And no code in Rust yet.

          Comment


          • #15
            Originally posted by StarterX4 View Post
            And no code in Rust yet.
            It won't ever be, Rust does not have a hard coded ABI, C is just better for OS-dev.

            Comment


            • #16
              Originally posted by sn99 View Post

              It won't ever be, Rust does not have a hard coded ABI, C is just better for OS-dev.
              With Linux you'd have to use `#[repr(C)]` either way which is of course a stable C compatible ABI. Rust itself does not stabilize its native representations yet but it'll come one day. It'd be of no use with the Linux kernel tho.

              Rust purely from the language perspective is vastly superior to C for OS-dev. There are still some rough edges but it's already way ahead.

              Comment

              Working...
              X