summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2021-08-18 16:34:53 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-08-24 22:37:05 +0300
commit2f617f4df8dfef68f175160d533f5820a368023e (patch)
treeeb41798a56246fec2da5f25531f2898c9eec7d92 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentff891a2e6431f79c239ab0c5bc05834c0235821c (diff)
downloadlinux-2f617f4df8dfef68f175160d533f5820a368023e.tar.xz
drm/amdkfd: map SVM range with correct access permission
Restore retry fault or prefetch range, or restore svm range after eviction to map range to GPU with correct read or write access permission. Range may includes multiple VMAs, update GPU page table with offset of prange, number of pages for each VMA according VMA access permission. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions