drm/amdkfd: retry validation to recover range
authorPhilip Yang <Philip.Yang@amd.com>
Tue, 20 Apr 2021 01:51:27 +0000 (21:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Apr 2021 03:36:05 +0000 (23:36 -0400)
commit4999e398e281b336c7e08a3bf0da014d9cc2119f
tree48e274d627cfed651f51d84e37df5034e869f991
parentc3c5cc9a83dca59b3a883eb0200fcbf467a9115e
drm/amdkfd: retry validation to recover range

GPU vm retry fault recover range need retry validation if

1. range is split in parallel by unmap while recover
2. range migrate to system memory and range is updated in system
memory while recover

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>
drivers/gpu/drm/amd/amdkfd/kfd_svm.c