diff options
author | Philip Yang <Philip.Yang@amd.com> | 2021-08-18 09:34:53 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-08-24 15:37:05 -0400 |
commit | 2f617f4df8dfef68f175160d533f5820a368023e (patch) | |
tree | eb41798a56246fec2da5f25531f2898c9eec7d92 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | |
parent | ff891a2e6431f79c239ab0c5bc05834c0235821c (diff) |
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_vcn.c')
0 files changed, 0 insertions, 0 deletions