diff options
| author | Christian König <[email protected]> | 2022-11-09 11:41:08 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-11-17 05:23:43 +0000 |
| commit | d4cbff464d2932a71d7d3b7d17ffef7700b58edd (patch) | |
| tree | 945cfc7dc7d16e34478b1bfe98b222a667064410 /drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.h | |
| parent | drm/amdgpu: rename the files for HMM handling (diff) | |
| download | kernel-d4cbff464d2932a71d7d3b7d17ffef7700b58edd.tar.gz kernel-d4cbff464d2932a71d7d3b7d17ffef7700b58edd.zip | |
drm/amdgpu: cleanup amdgpu_hmm_range_get_pages
Remove unused parameters and cleanup dead code.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.h index 4e596a16d288..13ed94d3b01b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.h @@ -31,10 +31,9 @@ #include <linux/interval_tree.h> int amdgpu_hmm_range_get_pages(struct mmu_interval_notifier *notifier, - struct mm_struct *mm, struct page **pages, - uint64_t start, uint64_t npages, - struct hmm_range **phmm_range, bool readonly, - bool mmap_locked, void *owner); + uint64_t start, uint64_t npages, bool readonly, + void *owner, struct page **pages, + struct hmm_range **phmm_range); int amdgpu_hmm_range_get_pages_done(struct hmm_range *hmm_range); #if defined(CONFIG_HMM_MIRROR) |
