Announcement

Collapse
No announcement yet.

AMD Open-Sources "Addrlib" From Catalyst

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

  • AMD Open-Sources "Addrlib" From Catalyst

    Phoronix: AMD Open-Sources "Addrlib" From Catalyst

    As part of AMD finally releasing the AMDGPU kernel driver yesterday along with initial Iceland/Carrizo/Tonga support in Gallium3D, they also open-sourced a component formerly within the Catalyst proprietary driver...

    http://www.phoronix.com/scan.php?pag...Source-Addrlib

  • #2
    is it worth it?

    Comment


    • #3
      Originally posted by jakubo View Post
      is it worth it?
      Sharing code? Yes.

      Comment


      • #4
        Originally posted by log0 View Post
        Sharing code? Yes.
        including...?

        Comment


        • #5
          Forgive my naive and uneducated question, as mesa and 3d graphics driver development is a completely untouched territory for me. I am a developer though, and I was wondering what in a "texture addressing and alignment calculator" needs 22k+ codelines?

          Comment


          • #6
            There is more than the initial description would indicate I think.

            There is a code comment inconsistency on the following lines

            Code:
            +    UINT_32  noOfRanks;          ///  MC_ARB_RAMCFG.NOOFRANK
            +                                 ///  0: 1
            +                                 ///  1: 2
            +                                 ///  SI (R1000) registers-----------------------------------------
            +    const UINT_32* pTileConfig;  ///< Global tile setting tables
            +    UINT_32  noOfEntries;        ///< Number of entries in pTileConfig
            +
            +                                 ///< CI registers-------------------------------------------------
            It should be

            Code:
            +    UINT_32  noOfRanks;          ///< MC_ARB_RAMCFG.NOOFRANK
            +                                 ///  0: 1
            +                                 ///  1: 2
            +                                 ///  SI (R1000) registers-----------------------------------------
            +    const UINT_32* pTileConfig;  ///< Global tile setting tables
            +    UINT_32  noOfEntries;        ///< Number of entries in pTileConfig
            +
            +                                 /// CI registers-------------------------------------------------
            At least I think it should be that.

            Comment


            • #7
              Originally posted by ultimA View Post
              Forgive my naive and uneducated question, as mesa and 3d graphics driver development is a completely untouched territory for me. I am a developer though, and I was wondering what in a "texture addressing and alignment calculator" needs 22k+ codelines?
              +1 . Mesa use less lines of code now. And I don't like 22k not mesa style codelines (Style is realy crap).

              Comment


              • #8
                Why didn't they open source this years ago?

                Either way, I am glad AMD hired Marek Ol??k, he is a boss!

                Comment


                • #9
                  Hi,

                  can someone explain what this tool does exactly ?

                  Thank you

                  Comment


                  • #10
                    Previous open source function for the same purpose: maybe hundred lines
                    Opened source from Catalyst blob: 22k lines in horrible style

                    *cough*

                    Comment

                    Working...
                    X