summaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2019-07-13 02:27:34 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-07-17 13:34:30 -0500
commit67adb569ddf4aee12de999e02c67c1a168dd1a15 (patch)
treebd8b1c798ac090176d2c479c6cd74fbbf4a51e4c /drivers/firewire
parent6ea624f60393edc114feb33fa738d6f2f47e9032 (diff)
downloadlinux-67adb569ddf4aee12de999e02c67c1a168dd1a15.tar.bz2
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>
Diffstat (limited to 'drivers/firewire')
0 files changed, 0 insertions, 0 deletions