diff options
| author | Philip Yang <[email protected]> | 2021-11-24 13:49:15 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-12-16 18:43:46 +0000 |
| commit | 69879b3083cc5022585d1826c663c330efae4e63 (patch) | |
| tree | 4d34b35c8c82ac5e25ea6fd9fa313bb876c99bff /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amdgpu: introduce new amdgpu_fence object to indicate the job embedded fence (diff) | |
| download | kernel-69879b3083cc5022585d1826c663c330efae4e63.tar.gz kernel-69879b3083cc5022585d1826c663c330efae4e63.zip | |
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 <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
