1. 25 Apr, 2022 6 commits
  2. 22 Apr, 2022 6 commits
  3. 21 Apr, 2022 12 commits
  4. 19 Apr, 2022 10 commits
  5. 14 Apr, 2022 5 commits
  6. 13 Apr, 2022 1 commit
    • Mukul Joshi's avatar
      drm/amdkfd: Cleanup IO links during KFD device removal · 46d18d51
      Mukul Joshi authored
      Currently, the IO-links to the device being removed from topology,
      are not cleared. As a result, there would be dangling links left in
      the KFD topology. This patch aims to fix the following:
      1. Cleanup all IO links to the device being removed.
      2. Ensure that node numbering in sysfs and nodes proximity domain
         values are consistent after the device is removed:
         a. Adding a device and removing a GPU device are made mutually
            exclusive.
         b. The global proximity domain counter is no longer required to be
            an atomic counter. A normal 32-bit counter can be used instead.
      3. Update generation_count to let user-mode know that topology has
         changed due to device removal.
      
      CC: Shuotao Xu <shuotaoxu@microsoft.com>
      Reviewed-by: default avatarShuotao Xu <shuotaoxu@microsoft.com>
      Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
      Signed-off-by: default avatarMukul Joshi <mukul.joshi@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      46d18d51