1. 22 5月, 2020 1 次提交
    • J
      drm/amdgpu fix incorrect sysfs remove behavior for xgmi · a89b5dae
      Jack Zhang 提交于
      Under xgmi setup,some sysfs fail to create for the second time of kmd
      driver loading. It's due to sysfs nodes are not removed appropriately
      in the last unlod time.
      
      Changes of this patch:
      1. remove sysfs for dev_attr_xgmi_error
      2. remove sysfs_link adev->dev->kobj with target name.
         And it only needs to be removed once for a xgmi setup
      3. remove sysfs_link hive->kobj with target name
      
      In amdgpu_xgmi_remove_device:
      1. amdgpu_xgmi_sysfs_rem_dev_info needs to be run per device
      2. amdgpu_xgmi_sysfs_destroy needs to be run on the last node of
      device.
      
      v2: initialize array with memset
      Signed-off-by: NJack Zhang <Jack.Zhang1@amd.com>
      Reviewed-by: NHawking Zhang <Hawking.Zhang@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      a89b5dae
  2. 15 5月, 2020 1 次提交
  3. 09 5月, 2020 1 次提交
  4. 28 4月, 2020 1 次提交
  5. 23 4月, 2020 1 次提交
  6. 02 4月, 2020 1 次提交
  7. 11 3月, 2020 1 次提交
  8. 07 3月, 2020 2 次提交
  9. 27 2月, 2020 2 次提交
  10. 07 2月, 2020 1 次提交
    • H
      drm/amdgpu: move xgmi init/fini to xgmi_add/remove_device call (v2) · 0b9d3760
      Hawking Zhang 提交于
      For sriov, psp ip block has to be initialized before
      ih block for the dynamic register programming interface
      that needed for vf ih ring buffer. On the other hand,
      current psp ip block hw_init function will initialize
      xgmi session which actaully depends on interrupt to
      return session context. This results an empty xgmi ta
      session id and later failures on all the xgmi ta cmd
      invoked from vf. xgmi ta session initialization has to
      be done after ih ip block hw_init call.
      
      to unify xgmi session init/fini for both bare-metal
      sriov virtualization use scenario, move xgmi ta init
      to xgmi_add_device call, and accordingly terminate xgmi
      ta session in xgmi_remove_device call.
      
      The existing suspend/resume sequence will not be changed.
      
      v2: squash in return fix from Nirmoy
      Signed-off-by: NHawking Zhang <Hawking.Zhang@amd.com>
      Reviewed-by: NFrank Min <Frank.Min@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      0b9d3760
  11. 14 1月, 2020 2 次提交
  12. 19 12月, 2019 1 次提交
  13. 08 11月, 2019 1 次提交
  14. 07 11月, 2019 2 次提交
  15. 03 10月, 2019 1 次提交
  16. 16 9月, 2019 1 次提交
  17. 31 7月, 2019 1 次提交
  18. 19 7月, 2019 3 次提交
  19. 25 5月, 2019 3 次提交
  20. 13 4月, 2019 1 次提交
  21. 28 3月, 2019 1 次提交
  22. 22 3月, 2019 1 次提交
  23. 20 3月, 2019 2 次提交
  24. 06 2月, 2019 1 次提交
  25. 30 1月, 2019 1 次提交
  26. 15 1月, 2019 2 次提交
  27. 19 12月, 2018 1 次提交
  28. 05 12月, 2018 1 次提交
  29. 04 12月, 2018 2 次提交