]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcae378ce1688a8feb3634b5d6e55f1a0c779033e
tree6a1f4aa9bc50bf7eba0392517806dcb74bc6825c
parent7ca48be67d84c78bff65f30d64ce5707ebcb6b65
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