1. 11 1月, 2023 3 次提交
  2. 06 1月, 2023 1 次提交
  3. 04 1月, 2023 1 次提交
  4. 30 11月, 2022 3 次提交
  5. 23 11月, 2022 1 次提交
  6. 18 11月, 2022 1 次提交
  7. 11 11月, 2022 1 次提交
  8. 28 10月, 2022 3 次提交
  9. 20 9月, 2022 1 次提交
    • Y
      drm/amdgpu: Fixed psp fence and memory issues when removing amdgpu device · 83d29a5f
      YiPeng Chai 提交于
      V3:
      Fixed psp fence and memory issues for the asic
      using smu v13_0_2 when removing amdgpu device.
      
      [Why]:
      1. psp_suspend->psp_free_shared_bufs->
             psp_ta_free_shared_buf->
                 amdgpu_bo_free_kernel->
                   ...->amdgpu_bo_release_notify->
                          amdgpu_fill_buffer
         psp will free vram memory used by psp when psp_suspend
         is called. But for the asic using smu v13_0_2, because
         psp_suspend is called before adev->shutdown is set to
         true when removing the first hive device, amdgpu fill_buffer
         will be called, which will cause fence issues when evicting
         all vram resources in amdgpu vram mgr_fini.
      2. Since psp_hw_fini is not called after calling psp_suspend
         and psp_suspend only calls psp_ring_stop, the psp ring memory
         will not be released when amdgpu device is removed.
      
      [How]:
      1. Set shutdown to true before calling amdgpu_device_gpu_recover,
         then amdgpu_fill_buffer will not be called when psp_suspend is
         called.
      2. Free psp ring memory in psp_sw_fini.
      Signed-off-by: NYiPeng Chai <YiPeng.Chai@amd.com>
      Reviewed-by: NHawking Zhang <Hawking.Zhang@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      83d29a5f
  10. 14 9月, 2022 3 次提交
  11. 08 9月, 2022 2 次提交
  12. 02 9月, 2022 3 次提交
  13. 01 9月, 2022 1 次提交
  14. 30 8月, 2022 1 次提交
  15. 26 8月, 2022 1 次提交
    • G
      drm/amdgpu: use dev_info to benefit mGPU case · 638bc30f
      Guchun Chen 提交于
      'free PSP TMR buffer' happens in suspend, but sometimes
      in mGPU config, it mixes with PSP resume log printing from
      another GPU, which is confusing. So use dev_info instead of
      DRM_INFO for printing.
      
      [drm] PSP is resuming...
      [drm] reserve 0xa00000 from 0x877e000000 for PSP TMR
      amdgpu 0000:e3:00.0: amdgpu: GECC is enabled
      amdgpu 0000:e3:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
      amdgpu 0000:e3:00.0: amdgpu: SMU is resuming...
      amdgpu 0000:e3:00.0: amdgpu: smu driver if version = 0x00000040, smu fw if version = 0x00000041, smu fw program = 0, version = 0x003a5400 (58.84.0)
      amdgpu 0000:e3:00.0: amdgpu: SMU driver if version not matched
      amdgpu 0000:e3:00.0: amdgpu: dpm has been enabled
      amdgpu 0000:e3:00.0: amdgpu: SMU is resumed successfully!
      [drm] DMUB hardware initialized: version=0x02020014
      [drm] free PSP TMR buffer
      [drm] kiq ring mec 2 pipe 1 q 0
      Signed-off-by: NGuchun Chen <guchun.chen@amd.com>
      Reviewed-by: NEvan Quan <evan.quan@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      638bc30f
  16. 23 8月, 2022 1 次提交
  17. 20 8月, 2022 1 次提交
  18. 30 7月, 2022 1 次提交
  19. 29 7月, 2022 1 次提交
  20. 25 7月, 2022 1 次提交
  21. 19 7月, 2022 1 次提交
  22. 27 5月, 2022 1 次提交
  23. 11 5月, 2022 3 次提交
  24. 06 5月, 2022 1 次提交
  25. 04 5月, 2022 3 次提交