[PATCH] drm/amdkfd: Address 'remap_list' not described in 'svm_range_add'

Felix Kuehling felix.kuehling at amd.com
Mon Oct 23 19:33:35 UTC 2023


On 2023-10-23 12:12, Srinivasan Shanmugam wrote:
> 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 at amd.com>
> Cc: Christian König <christian.koenig at amd.com>
> Cc: Alex Deucher <alexander.deucher at amd.com>
> Cc: "Pan, Xinhui" <Xinhui.Pan at amd.com>
> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam at amd.com>

Reviewed-by: Felix Kuehling <Felix.Kuehling at amd.com>


> ---
>   drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_svm.c b/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
> index f2b33fb2afcf..f43dedf3e240 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
> @@ -2046,6 +2046,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


More information about the amd-gfx mailing list