diff options
author | Philip Yang <Philip.Yang@amd.com> | 2021-11-24 16:49:15 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-12-16 21:43:46 +0300 |
commit | 69879b3083cc5022585d1826c663c330efae4e63 (patch) | |
tree | 4d34b35c8c82ac5e25ea6fd9fa313bb876c99bff /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 5c1e6fa49e8d8dbdd8bb457492b2bc52718df244 (diff) | |
download | linux-69879b3083cc5022585d1826c663c330efae4e63.tar.xz |
drm/amdkfd: fix svm_bo release invalid wait context warning
Add svm_range_bo_unref_async to schedule work to wait for svm_bo
eviction work done and then free svm_bo. __do_munmap put_page
is atomic context, call svm_range_bo_unref_async to avoid warning
invalid wait context. Other non atomic context call svm_range_bo_unref.
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_virt.c')
0 files changed, 0 insertions, 0 deletions