OSDN Git Service

Revert "drm/amdkfd: flush TLB after updating GPU page table"
authorPhilip Yang <Philip.Yang@amd.com>
Thu, 13 May 2021 16:16:01 +0000 (12:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:34:01 +0000 (22:34 -0400)
This reverts commit 1704ac8e439e3dcf97431e268bd64fde1874d807.

After "drm/amdgpu: flush TLB if valid PDE turns into PTE" is checked
in, this workaround is not needed.

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

index 879c857..a52e459 100644 (file)
@@ -1241,9 +1241,6 @@ 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;