diff options
author | 2023-10-19 14:39:48 +0800 | |
---|---|---|
committer | 2023-10-20 15:11:26 -0400 | |
commit | f9caf6cdd5cc1f4006fd7b6b113658c0b0159f23 (patch) | |
tree | 54f8d277d83957b8955c4ad4f38da9ec4388a043 /drivers/gpu/drm/amd/amdkfd/kfd_svm.h | |
parent | drm/amd/pm: Support for getting power1_cap_min value (diff) | |
download | linux-f9caf6cdd5cc1f4006fd7b6b113658c0b0159f23.tar.gz linux-f9caf6cdd5cc1f4006fd7b6b113658c0b0159f23.tar.bz2 linux-f9caf6cdd5cc1f4006fd7b6b113658c0b0159f23.zip |
drm/amdkfd:remove unused code
Function svm_range_split_by_grinity is not used,
so it is removed.
Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Suggested-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_svm.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_svm.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_svm.h b/drivers/gpu/drm/amd/amdkfd/kfd_svm.h index be11ba0c4289..026863a0abcd 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_svm.h +++ b/drivers/gpu/drm/amd/amdkfd/kfd_svm.h @@ -172,9 +172,6 @@ struct kfd_node *svm_range_get_node_by_id(struct svm_range *prange, int svm_range_vram_node_new(struct kfd_node *node, struct svm_range *prange, bool clear); void svm_range_vram_node_free(struct svm_range *prange); -int svm_range_split_by_granularity(struct kfd_process *p, struct mm_struct *mm, - unsigned long addr, struct svm_range *parent, - struct svm_range *prange); int svm_range_restore_pages(struct amdgpu_device *adev, unsigned int pasid, uint32_t vmid, uint32_t node_id, uint64_t addr, bool write_fault); |