diff options
author | Felix Kuehling <[email protected]> | 2021-10-27 19:24:46 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-11-03 12:22:07 -0400 |
commit | 740a451b0797bf91cd6adb1b6e86d4422e37a34a (patch) | |
tree | 149a22b40bfe3a2f0b1df175d34a74e51540ea07 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | 12fcf0a7dacca7d84b100bd34a7b8bb1f3198552 (diff) |
drm/amdkfd: Handle incomplete migration to system memory
If some pages fail to migrate to system memory, don't update
prange->actual_loc = 0. This prevents endless CPU page faults after
partial migration failures due to contested page locks.
Migration to RAM must be complete during migrations from VRAM to VRAM and
during evictions. Implement retry and fail if the migration to RAM fails.
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Philip Yang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions