1. 05 Jul, 2017 1 commit
  2. 21 Oct, 2016 1 commit
  3. 28 Sep, 2016 1 commit
  4. 14 Sep, 2016 4 commits
  5. 12 Sep, 2016 1 commit
  6. 02 Sep, 2016 2 commits
  7. 30 Aug, 2016 1 commit
    • Marek Olšák's avatar
      drm/amdgpu: throttle buffer migrations at CS using a fixed MBps limit (v2) · 95844d20
      Marek Olšák authored
      
      
      The old mechanism used a per-submission limit that didn't take previous
      submissions within the same time frame into account. It also filled VRAM
      slowly when VRAM usage dropped due to a big eviction or buffer deallocation.
      
      This new method establishes a configurable MBps limit that is obeyed when
      VRAM usage is very high. When VRAM usage is not very high, it gives
      the driver the freedom to fill it quickly. The result is more consistent
      performance.
      
      It can't keep the BO move rate low if lots of evictions are happening due
      to VRAM fragmentation, or if a big buffer is being migrated.
      
      The amdgpu.moverate parameter can be used to set a non-default limit.
      Measurements can be done to find out which amdgpu.moverate setting gives
      the best results.
      
      Mainly APUs and cards with small VRAM will benefit from this. For F1 2015,
      anything with 2 GB VRAM or less will benefit.
      
      Some benchmark results - F1 2015 (Tonga 2GB):
      
      Limit      MinFPS AvgFPS
      Old code:  14     32.6
      128 MB/s:  28     41
      64 MB/s:   15.5   43
      32 MB/s:   28.7   43.4
      8 MB/s:    27.8   44.4
      8 MB/s:    21.9   42.8 (different run)
      
      Random drops in Min FPS can still occur (due to fragmented VRAM?), but
      the average FPS is much better. 8 MB/s is probably a good limit for this
      game & the current VRAM management. The random FPS drops are still to be
      tackled.
      
      v2: use a spinlock
      Signed-off-by: default avatarMarek Olšák <marek.olsak@amd.com>
      Acked-by: default avatarChristian König <christian.koenig@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      95844d20
  8. 22 Aug, 2016 1 commit
  9. 16 Aug, 2016 1 commit
  10. 08 Aug, 2016 1 commit
  11. 07 Jul, 2016 8 commits
  12. 17 May, 2016 1 commit
  13. 11 May, 2016 5 commits
  14. 05 May, 2016 1 commit
  15. 02 May, 2016 3 commits
  16. 21 Mar, 2016 1 commit
  17. 08 Mar, 2016 2 commits
  18. 10 Feb, 2016 5 commits