diff options
author | Philip Yang <Philip.Yang@amd.com> | 2022-01-18 12:15:24 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-01-27 15:47:51 -0500 |
commit | 367c9b0f1b8750a704070e7ae85234d591290434 (patch) | |
tree | 5f2eb8a4e427c5710f2a41a68f55071636e083e9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | ac7c48c0cce00d03b3c95fddcccb0a45257e33e3 (diff) | |
download | linux-367c9b0f1b8750a704070e7ae85234d591290434.tar.gz linux-367c9b0f1b8750a704070e7ae85234d591290434.tar.bz2 linux-367c9b0f1b8750a704070e7ae85234d591290434.zip |
drm/amdkfd: Ensure mm remain valid in svm deferred_list work
svm_deferred_list work should continue to handle deferred_range_list
which maybe split to child range to avoid child range leak, and remove
ranges mmu interval notifier to avoid mm mm_count leak. So taking mm
reference when adding range to deferred list, to ensure mm is valid in
the scheduled deferred_list_work, and drop the mm referrence after range
is handled.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reported-by: Ruili Ji <ruili.ji@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