Skip to content
Snippets Groups Projects
  1. Mar 10, 2025
  2. Feb 19, 2025
  3. Dec 12, 2024
  4. Dec 05, 2024
  5. Nov 11, 2024
  6. Oct 22, 2024
  7. Oct 07, 2024
  8. Oct 01, 2024
  9. Jun 19, 2024
  10. Apr 26, 2024
  11. Sep 11, 2023
  12. Jun 09, 2023
  13. Apr 18, 2023
  14. Jan 10, 2023
  15. Jan 03, 2023
  16. May 06, 2022
  17. May 04, 2022
  18. Aug 06, 2021
  19. Apr 09, 2021
  20. Nov 24, 2020
  21. Oct 16, 2020
  22. May 18, 2020
  23. Apr 28, 2020
  24. Apr 09, 2020
    • Nirmoy Das's avatar
      drm/amdgpu: rework sched_list generation · 1c6d567b
      Nirmoy Das authored
      
      Generate HW IP's sched_list in amdgpu_ring_init() instead of
      amdgpu_ctx.c. This makes amdgpu_ctx_init_compute_sched(),
      ring.has_high_prio and amdgpu_ctx_init_sched() unnecessary.
      This patch also stores sched_list for all HW IPs in one big
      array in struct amdgpu_device which makes amdgpu_ctx_init_entity()
      much more leaner.
      
      v2:
      fix a coding style issue
      do not use drm hw_ip const to populate amdgpu_ring_type enum
      
      v3:
      remove ctx reference and move sched array and num_sched to a struct
      use num_scheds to detect uninitialized scheduler list
      
      v4:
      use array_index_nospec for user space controlled variables
      fix possible checkpatch.pl warnings
      
      Signed-off-by: default avatarNirmoy Das <nirmoy.das@amd.com>
      Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      1c6d567b
  25. Apr 01, 2020
Loading