drm/amdgpu: Remove explicit wait after VM validate
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Fri, 26 Jan 2018 20:36:06 +0000 (15:36 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Nov 2018 19:00:37 +0000 (14:00 -0500)
commit9130cc01d1fda46009529d04303c6ed958d9e3d1
tree6a1f4aa9bc50bf7eba0392517806dcb74bc6825c
parent39e94569039b58b55eef9e18ad96d666293aea4f
drm/amdgpu: Remove explicit wait after VM validate

PD or PT might have to be moved during validation and this move has to be
completed before updating it. If page table updates are done using SDMA
then this serializing is done by SDMA command submission.

And if PD/PT updates are done by CPU, then explicit waiting for PD/PT
updates are done in amdgpu VM amdgpu_vm_wait_pd function.

Sync to PD BO moving fence to handle corner case where none of the PTs
are updated but PD is evicted.

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c