drm/amdgpu: vm flush needed after updating PDEs
authorPhilip Yang <Philip.Yang@amd.com>
Tue, 10 May 2022 14:29:54 +0000 (10:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 May 2022 21:53:13 +0000 (17:53 -0400)
commit5be323562c6a699d38430bc068a3fd192be8ed0d
treeb2cd563e624598a0e024a3294493b52e1cb9ed46
parent688ea54949c5dd95732e99d46de23a919311a9ea
drm/amdgpu: vm flush needed after updating PDEs

If page table PDEs is evicted and restored, after updating PDEs, need
increase vm->tlb_seq, then amdgpu_vm_flush will flush TLB before command
submission.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c