linux/drivers/gpu/drm/amd
Felix Kuehling 67adb569dd drm/amdgpu: Fix silent amdgpu_bo_move failures
Under memory pressure, buffer moves between RAM to VRAM  can
fail when there is no GTT space available. In those cases
amdgpu_bo_move falls back to ttm_bo_move_memcpy, which seems to
succeed, although it doesn't really support non-contiguous or
invisible VRAM. This manifests as VM faults with corrupted page
table entries in KFD eviction stress tests.

Print some helpful messages when lack of GTT space is causing buffer
moves to fail. Check that source and destination memory regions are
supported by ttm_bo_move_memcpy before taking that fallback.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-07-17 13:34:30 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: Fix silent amdgpu_bo_move failures 2019-07-17 13:34:30 -05:00
amdkfd drm/amdkfd: Consistently apply noretry setting 2019-07-16 13:02:55 -05:00
display drm/amd/display: return 'NULL' instead of 'false' from dcn20_acquire_idle_pipe_for_layer 2019-07-16 13:02:51 -05:00
include drm/amd/powerplay: increase the SMU msg response waiting time 2019-07-11 14:37:23 -05:00
powerplay drm/amd/powerplay: Use proper enums in vega20_print_clk_levels 2019-07-16 14:49:57 -05:00