Commit 1704ac8e authored by Philip Yang's avatar Philip Yang Committed by Alex Deucher
Browse files

drm/amdkfd: flush TLB after updating GPU page table



To workaround the situation that vm retry fault keep coming after page
table update. We are investigating the root cause, but once this issue
happens, application will stuck and sometimes have to reboot to recover.

Signed-off-by: default avatarPhilip Yang <Philip.Yang@amd.com>
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 589bb0ca
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1225,6 +1225,9 @@ static int svm_range_map_to_gpus(struct svm_range *prange,
				break;
			}
		}

		amdgpu_amdkfd_flush_gpu_tlb_pasid((struct kgd_dev *)adev,
						  p->pasid);
	}

	return r;