1. 29 9月, 2022 2 次提交
  2. 17 8月, 2022 2 次提交
  3. 15 7月, 2022 1 次提交
  4. 01 7月, 2022 1 次提交
  5. 08 6月, 2022 1 次提交
  6. 07 6月, 2022 1 次提交
    • A
      drm/amd/amdgpu: Enable high priority gfx queue · b07d1d73
      Arunpravin Paneer Selvam 提交于
      Starting from SIENNA CICHLID asic supports two gfx pipes, enabling
      two graphics queues, 1 on each pipe, pipe0 queue0 would be the normal
      piority queue and pipe1 queue0 would be the high priority queue
      
      Only one queue per pipe is visble to SPI, SPI looks at the priority
      value assigned to CP_GFX_HQD_QUEUE_PRIORITY from each of the queue's
      HQD/MQD.
      
      Create contexts applying AMDGPU_CTX_PRIORITY_HIGH which submits job
      to the high priority queue on GFX pipe1. There would be starvation
      of LP workload if HP workload is always available.
      
      v2:
        - remove unnecessary check(Nirmoy)
        - make pipe1 hardware support a separate patch(Nirmoy)
        - remove duplicate code(Shashank)
        - add CSA support for second gfx pipe(Alex)
      
      v3(Christian):
        - fix incorrect indentation
        - merge COMPUTE and GFX switch cases as both calls the same function.
      
      v4:
        - rebase w/ latest code base
      Signed-off-by: NArunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
      Acked-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      b07d1d73
  7. 02 6月, 2022 1 次提交
  8. 07 5月, 2022 1 次提交
  9. 04 5月, 2022 2 次提交
  10. 26 3月, 2022 1 次提交
  11. 03 3月, 2022 3 次提交
  12. 18 2月, 2022 2 次提交
  13. 15 2月, 2022 1 次提交
  14. 15 1月, 2022 2 次提交
  15. 05 10月, 2021 2 次提交
  16. 21 8月, 2021 2 次提交
    • M
      drm/amdgpu: Cancel delayed work when GFXOFF is disabled · 32bc8f83
      Michel Dänzer 提交于
      schedule_delayed_work does not push back the work if it was already
      scheduled before, so amdgpu_device_delay_enable_gfx_off ran ~100 ms
      after the first time GFXOFF was disabled and re-enabled, even if GFXOFF
      was disabled and re-enabled again during those 100 ms.
      
      This resulted in frame drops / stutter with the upcoming mutter 41
      release on Navi 14, due to constantly enabling GFXOFF in the HW and
      disabling it again (for getting the GPU clock counter).
      
      To fix this, call cancel_delayed_work_sync when the disable count
      transitions from 0 to 1, and only schedule the delayed work on the
      reverse transition, not if the disable count was already 0. This makes
      sure the delayed work doesn't run at unexpected times, and allows it to
      be lock-free.
      
      v2:
      * Use cancel_delayed_work_sync & mutex_trylock instead of
        mod_delayed_work.
      v3:
      * Make amdgpu_device_delay_enable_gfx_off lock-free (Christian König)
      v4:
      * Fix race condition between amdgpu_gfx_off_ctrl incrementing
        adev->gfx.gfx_off_req_count and amdgpu_device_delay_enable_gfx_off
        checking for it to be 0 (Evan Quan)
      
      Cc: stable@vger.kernel.org
      Reviewed-by: NEvan Quan <evan.quan@amd.com>
      Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> # v3
      Acked-by: Christian König <christian.koenig@amd.com> # v3
      Signed-off-by: NMichel Dänzer <mdaenzer@redhat.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      32bc8f83
    • M
      drm/amdgpu: Cancel delayed work when GFXOFF is disabled · 90a92662
      Michel Dänzer 提交于
      schedule_delayed_work does not push back the work if it was already
      scheduled before, so amdgpu_device_delay_enable_gfx_off ran ~100 ms
      after the first time GFXOFF was disabled and re-enabled, even if GFXOFF
      was disabled and re-enabled again during those 100 ms.
      
      This resulted in frame drops / stutter with the upcoming mutter 41
      release on Navi 14, due to constantly enabling GFXOFF in the HW and
      disabling it again (for getting the GPU clock counter).
      
      To fix this, call cancel_delayed_work_sync when the disable count
      transitions from 0 to 1, and only schedule the delayed work on the
      reverse transition, not if the disable count was already 0. This makes
      sure the delayed work doesn't run at unexpected times, and allows it to
      be lock-free.
      
      v2:
      * Use cancel_delayed_work_sync & mutex_trylock instead of
        mod_delayed_work.
      v3:
      * Make amdgpu_device_delay_enable_gfx_off lock-free (Christian König)
      v4:
      * Fix race condition between amdgpu_gfx_off_ctrl incrementing
        adev->gfx.gfx_off_req_count and amdgpu_device_delay_enable_gfx_off
        checking for it to be 0 (Evan Quan)
      
      Cc: stable@vger.kernel.org
      Reviewed-by: NEvan Quan <evan.quan@amd.com>
      Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> # v3
      Acked-by: Christian König <christian.koenig@amd.com> # v3
      Signed-off-by: NMichel Dänzer <mdaenzer@redhat.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      90a92662
  17. 17 8月, 2021 1 次提交
  18. 20 5月, 2021 1 次提交
  19. 10 4月, 2021 5 次提交
  20. 24 3月, 2021 1 次提交
  21. 10 2月, 2021 1 次提交
  22. 14 11月, 2020 2 次提交
  23. 13 11月, 2020 1 次提交
  24. 17 10月, 2020 1 次提交
  25. 16 9月, 2020 1 次提交
  26. 25 8月, 2020 1 次提交