1. 27 8月, 2019 1 次提交
  2. 11 6月, 2019 1 次提交
  3. 20 3月, 2019 3 次提交
  4. 16 2月, 2019 1 次提交
  5. 11 12月, 2018 1 次提交
  6. 01 12月, 2018 2 次提交
  7. 28 8月, 2018 7 次提交
  8. 26 7月, 2018 1 次提交
  9. 14 7月, 2018 1 次提交
  10. 06 7月, 2018 2 次提交
  11. 16 6月, 2018 1 次提交
  12. 19 5月, 2018 1 次提交
  13. 16 5月, 2018 3 次提交
  14. 10 5月, 2018 1 次提交
  15. 08 12月, 2017 1 次提交
  16. 05 12月, 2017 4 次提交
  17. 20 10月, 2017 2 次提交
  18. 10 10月, 2017 5 次提交
  19. 27 9月, 2017 1 次提交
  20. 01 6月, 2017 1 次提交
    • A
      drm/amdgpu: untie user ring ids from kernel ring ids v6 · effd924d
      Andres Rodriguez 提交于
      Add amdgpu_queue_mgr, a mechanism that allows disjointing usermode's
      ring ids from the kernel's ring ids.
      
      The queue manager maintains a per-file descriptor map of user ring ids
      to amdgpu_ring pointers. Once a map is created it is permanent (this is
      required to maintain FIFO execution guarantees for a context's ring).
      
      Different queue map policies can be configured for each HW IP.
      Currently all HW IPs use the identity mapper, i.e. kernel ring id is
      equal to the user ring id.
      
      The purpose of this mechanism is to distribute the load across multiple
      queues more effectively for HW IPs that support multiple rings.
      Userspace clients are unable to check whether a specific resource is in
      use by a different client. Therefore, it is up to the kernel driver to
      make the optimal choice.
      
      v2: remove amdgpu_queue_mapper_funcs
      v3: made amdgpu_queue_mgr per context instead of per-fd
      v4: add context_put on error paths
      v5: rebase and include new IPs UVD_ENC & VCN_*
      v6: drop unused amdgpu_ring_is_valid_index (Alex)
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NAndres Rodriguez <andresx7@gmail.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      effd924d