Announcement

Collapse
No announcement yet.

AMDKFD Looking To Be Merged Into AMDGPU Linux DRM Kernel Driver

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

  • AMDKFD Looking To Be Merged Into AMDGPU Linux DRM Kernel Driver

    Phoronix: AMDKFD Looking To Be Merged Into AMDGPU Linux DRM Kernel Driver

    While "AMDGPU" is often what is talked about when it comes to the Radeon graphics driver code within the Linux kernel with it being the Direct Rendering Manager (DRM) driver for AMD GCN graphics cards and newer, there is also the AMDKFD kernel driver that plays a vital role for compute support...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Does this mean that ROCm would eventually gain graphics interop capabilities!

    Comment


    • #3
      Originally posted by trivialfis
      Hi, is there any source if information on how to use rocm with upstream kernel?
      I don't think that is possible yet. Hopefully that will be fixed when ROCm 1.9 is released.

      Comment


      • #4
        Kaveri gcn 1.1, AMDGPU gcn 1.2 and higher. Thanks AMD

        Comment


        • #5
          Yep GCN 1.2 would cover Carrizo and Bristol Ridge.

          Comment


          • #6
            Originally posted by Jumbotron View Post
            Yep GCN 1.2 would cover Carrizo and Bristol Ridge.
            Resentment. I took Kaveri just for the sake of HSA. Oh, this marketing of AMD...

            Comment


            • #7
              Originally posted by trivialfis
              Hi, is there any source if information on how to use rocm with upstream kernel?


              Comment


              • #8
                Originally posted by trivialfis
                Hi, is there any source if information on how to use rocm with upstream kernel?
                Now that the KFD code is substantially upstream the next step is to align our internal trees with the upstream user/kernel interface, which is slightly different from the UKI in our internal trees (and hence in ROCm releases). The goal is to include this in the upcoming ROCm 1.9 release.

                Note that the initial release may not include testing against upstream, just rebasing our internal trees against upstream KFD and then testing against the internal trees we use for the ROCm release. So we're going from saying "it won't work against upstream" to "it should work against upstream, but use the kernel code we release if you want to be sure".

                Being able to say "it will work against upstream" will require at least doubling our current test coverage, which will take some time, but it is part of the plan.
                Test signature

                Comment


                • #9
                  Originally posted by guglovich View Post
                  Kaveri gcn 1.1, AMDGPU gcn 1.2 and higher. Thanks AMD
                  Do you mean "radeon gcn 1.1, amdgpu gcn 1.2 and higher" ? I'm guessing that your "thanks" is sarcastic but not sure why.

                  Note that we have switched to using amdgpu with ROCM rather than radeon, even for GCN 1.1 - that is one of the things that makes the proposed merge possible.
                  Test signature

                  Comment


                  • #10
                    Originally posted by bridgman View Post

                    Do you mean "radeon gcn 1.1, amdgpu gcn 1.2 and higher" ? I'm guessing that your "thanks" is sarcastic but not sure why.

                    Note that we have switched to using amdgpu with ROCM rather than radeon, even for GCN 1.1 - that is one of the things that makes the proposed merge possible.
                    Nearly. I hint that the Kaveri are deprived of functionality in the future kernel. After all, as you wrote for Kaveri already Radeon DRM. And from the news, I realized that AMDKFD removed from the kernel and a duplicate code from the Radeon DRM. Correct if I'm wrong.

                    Also interesting is whether this means that there will finally be compatibility with Mesa OpenCL?

                    Comment

                    Working...
                    X