1. 05 5月, 2016 3 次提交
  2. 04 5月, 2016 1 次提交
  3. 30 3月, 2016 1 次提交
  4. 09 3月, 2016 1 次提交
  5. 28 2月, 2016 1 次提交
    • O
      drm/amdgpu: Return -EPROBE_DEFER when amdkfd not loaded · efb1c658
      Oded Gabbay 提交于
      amdgpu must load only after amdkfd's loading has been completed. If that
      is not enforced, then amdgpu's call into amdkfd's functions will cause a
      kernel BUG.
      
      When amdgpu and amdkfd are built as kernel modules, that rule is enforced
      by the kernel's modules loading mechanism. When amdgpu and amdkfd are
      built inside the kernel image, that rule is enforced by ordering in the
      drm Makefile (amdkfd before amdgpu).
      
      Instead of using drm Makefile ordering, we can now use deferred loading
      as amdkfd now returns -EPROBE_DEFER in kgd2kfd_init() when it is not yet
      loaded.
      
      This patch defers amdgpu loading by propagating -EPROBE_DEFER to the
      kernel's drivers loading infrastructure. That will put amdgpu into the
      pending drivers list (see description in dd.c). Once amdkfd is loaded,
      a call to kgd2kfd_init() will return successfully and amdgpu will be able
      to load.
      Signed-off-by: NOded Gabbay <oded.gabbay@gmail.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      efb1c658
  6. 11 2月, 2016 3 次提交
  7. 08 2月, 2016 1 次提交
  8. 03 2月, 2016 1 次提交
  9. 22 12月, 2015 3 次提交
  10. 15 12月, 2015 1 次提交
  11. 22 10月, 2015 2 次提交
  12. 15 10月, 2015 2 次提交
  13. 08 10月, 2015 2 次提交
  14. 06 10月, 2015 1 次提交
  15. 24 9月, 2015 1 次提交
  16. 21 8月, 2015 1 次提交
  17. 18 8月, 2015 7 次提交
  18. 20 7月, 2015 1 次提交
    • O
      drm/amdgpu: Add H/W agnostic amdgpu <--> amdkfd interface · 130e0371
      Oded Gabbay 提交于
      This patch adds an interface file between amdgpu and amdkfd. This
      interface file is H/W agnostic, thus containing functions that
      operate the same for any AMD APU/GPU H/W generation.
      
      The functions in this interface mirror (some) of the functions in
      radeon_kfd.c (the radeon<-->amdkfd interface file). The main functions
      are:
      
      - amdgpu_amdkfd_init - initialize the amdkfd module
      - amdgpu_amdkfd_load_interface - load the H/W interface according to the
        currently probed device
      - amdgpu_amdkfd_device_probe - probe the device in amdkfd
      - amdgpu_amdkfd_device_init - initialize the device in amdkfd
      - amdgpu_amdkfd_interrupt - call the ISR of amdkfd
      - amdgpu_amdkfd_suspend - suspend callback from amdgpu
      - amdgpu_amdkfd_resume - resume callback from amdgpu
      
      This patch also modifies the relevant amdgpu files, to use this new
      interface.
      Signed-off-by: NOded Gabbay <oded.gabbay@gmail.com>
      130e0371
  19. 04 6月, 2015 6 次提交