1. 18 7月, 2022 1 次提交
  2. 07 7月, 2022 2 次提交
  3. 30 6月, 2022 3 次提交
  4. 23 6月, 2022 1 次提交
    • A
      drm/amdgpu: Adjust logic around GTT size (v3) · f15345a3
      Alex Deucher 提交于
      Certain GL unit tests for large textures can cause problems
      with the OOM killer since there is no way to link this memory
      to a process.  This was originally mitigated (but not necessarily
      eliminated) by limiting the GTT size.  The problem is this limit
      is often too low for many modern games so just make the limit 1/2
      of system memory. The OOM accounting needs to be addressed, but
      we shouldn't prevent common 3D applications from being usable
      just to potentially mitigate that corner case.
      
      Set default GTT size to max(3G, 1/2 of system ram) by default.
      
      v2: drop previous logic and default to 3/4 of ram
      v3: default to half of ram to align with ttm
      v4: fix spelling in comment (Kent)
      
      Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1942Reviewed-by: NMarek Olšák <marek.olsak@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      f15345a3
  5. 15 6月, 2022 1 次提交
  6. 09 6月, 2022 1 次提交
    • Y
      drm/amdgpu/mes: only invalid/prime icache when finish loading both pipe MES FWs. · 431d0712
      Yifan Zhang 提交于
      invalid/prime icahce operation takes effect both pipes cuconrrently,
      therefore CP_MES_IC_BASE_LO/HI and CP_MES_MDBASE_LO/HI both have to be
      set before prime icache. Otherwise MES hardware gets garbage data in
      above regsters and causes page fault
      
      [  470.873200] amdgpu 0000:33:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:217 vmid:0 pasid:0, for process  pid 0 thread  pid 0)
      [  470.873222] amdgpu 0000:33:00.0: amdgpu:   in page starting at address 0x000092cb89b00000 from client 10
      [  470.873234] amdgpu 0000:33:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00000BB3
      [  470.873242] amdgpu 0000:33:00.0: amdgpu:      Faulty UTCL2 client ID: CPC (0x5)
      [  470.873247] amdgpu 0000:33:00.0: amdgpu:      MORE_FAULTS: 0x1
      [  470.873251] amdgpu 0000:33:00.0: amdgpu:      WALKER_ERROR: 0x1
      [  470.873256] amdgpu 0000:33:00.0: amdgpu:      PERMISSION_FAULTS: 0xb
      [  470.873260] amdgpu 0000:33:00.0: amdgpu:      MAPPING_ERROR: 0x1
      [  470.873264] amdgpu 0000:33:00.0: amdgpu:      RW: 0x0
      Signed-off-by: NYifan Zhang <yifan1.zhang@amd.com>
      Acked-by: NAlex Deucher <alexander.deucher@amd.com>
      Reviewed-by: NTim Huang <Tim.Huang@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      431d0712
  7. 08 6月, 2022 5 次提交
  8. 04 6月, 2022 4 次提交
  9. 02 6月, 2022 7 次提交
  10. 27 5月, 2022 15 次提交