1. 13 8月, 2019 1 次提交
  2. 19 7月, 2019 1 次提交
    • J
      drm/amdgpu: Default disable GDS for compute VMIDs · ad28e024
      Joseph Greathouse 提交于
      The GDS and GWS blocks default to allowing all VMIDs to
      access all entries. Graphics VMIDs can handle setting
      these limits when the driver launches work. However,
      compute workloads under HWS control don't go through the
      kernel driver. Instead, HWS firmware should set these
      limits when a process is put into a VMID slot.
      
      Disable access to these devices by default by turning off
      all mask bits (for OA) and setting BASE=SIZE=0 (for GDS
      and GWS) for all compute VMIDs. If a process wants to use
      these resources, they can request this from the HWS
      firmware (when such capabilities are enabled). HWS will
      then handle setting the base and limit for the process when
      it is assigned to a VMID.
      
      This will also prevent user kernels from getting 'stuck' in
      GWS by accident if they write GWS-using code but HWS
      firmware is not set up to handle GWS reset. Until HWS is
      enabled to handle GWS properly, all GWS accesses will
      MEM_VIOL fault the kernel.
      
      v2: Move initialization outside of SRBM mutex
      Signed-off-by: NJoseph Greathouse <Joseph.Greathouse@amd.com>
      Reviewed-by: NFelix Kuehling <Felix.Kuehling@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      ad28e024
  3. 17 7月, 2019 2 次提交
  4. 06 7月, 2019 1 次提交
  5. 02 7月, 2019 2 次提交
  6. 21 6月, 2019 3 次提交
  7. 17 6月, 2019 1 次提交
  8. 14 6月, 2019 1 次提交
  9. 12 6月, 2019 3 次提交
  10. 11 6月, 2019 2 次提交
  11. 06 6月, 2019 1 次提交
  12. 31 5月, 2019 2 次提交
  13. 25 5月, 2019 7 次提交
  14. 11 4月, 2019 2 次提交
  15. 03 4月, 2019 1 次提交
  16. 21 3月, 2019 2 次提交
  17. 20 3月, 2019 3 次提交
  18. 12 3月, 2019 1 次提交
  19. 20 2月, 2019 1 次提交
  20. 14 2月, 2019 1 次提交
    • Y
      drm/amdgpu: Fix bugs in setting CP RB/MEC DOORBELL_RANGE registers · 74b9b3ea
      Yong Zhao 提交于
      CP_RB_DOORBELL_RANGE_LOWER/UPPER and CP_MEC_DOORBELL_RANGE_LOWER/UPPER
      are used for waking up an idle scheduler and for power gating support.
      Usually the first few doorbells in pci doorbell bar are used for RB
      and all leftover for MEC. This patch fixes the incorrect settings.
      
      Theoretically, gfx ring doorbells should come before all MEC doorbells
      to be consistent with the design. However, since the doorbell
      allocations are agreed by all and we are not free to change them, also
      considering the kernel MEC ring doorbells which are before gfx ring
      doorbells are not used often, we compromise by leaving the doorbell
      allocations unchanged.
      Signed-off-by: NYong Zhao <Yong.Zhao@amd.com>
      Reviewed-by: NFelix Kuehling <Felix.Kuehling@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      74b9b3ea
  21. 06 2月, 2019 1 次提交
  22. 26 1月, 2019 1 次提交