summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2020-11-30 16:02:00 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-12-01 16:04:10 -0500
commit15024daf4e5b30888b8b950e3e5988f0bf39ee08 (patch)
tree28261d1e5ab57e2e6afa044bf215f514d3a99869 /drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c
parentc529b685e1c05440ad6af10673e00c4a49b926aa (diff)
drm/amdkfd: keep BOs in system memory if restore failed
If vram is used up, display allocate vram evict the KFD BOs to system memory. KFD schedule restore work to restore BOs back to vram. If display BOs are pinned in vram, KFD restore work will keep retry, and may never success. If restore BO back to vram failed, keep the BO in system memory to prevent endless retry restore, and GPU mapping will update to system memory. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c')
0 files changed, 0 insertions, 0 deletions