]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amdkfd: Address 'remap_list' not described in 'svm_range_add'
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Mon, 23 Oct 2023 16:05:30 +0000 (21:35 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Oct 2023 22:41:22 +0000 (18:41 -0400)
Fixes the below:

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c:2073: warning: Function parameter or member 'remap_list' not described in 'svm_range_add'

Cc: Felix Kuehling <Felix.Kuehling@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_svm.c

index bf041b5a08a5804bb4a250daa10c78e17b52f88e..3b04dd3c89d7b7cf3b0f5a5d8a971e273614442e 100644 (file)
@@ -2035,6 +2035,7 @@ svm_range_split_new(struct svm_range_list *svms, uint64_t start, uint64_t last,
  * @update_list: output, the ranges need validate and update GPU mapping
  * @insert_list: output, the ranges need insert to svms
  * @remove_list: output, the ranges are replaced and need remove from svms
+ * @remap_list: output, remap unaligned svm ranges
  *
  * Check if the virtual address range has overlap with any existing ranges,
  * split partly overlapping ranges and add new ranges in the gaps. All changes