[PATCH v2] Add function parameter 'xcc_mask' not described in 'amdgpu_vm_flush_compute_tlb'

Christian König ckoenig.leichtzumerken at gmail.com
Thu Nov 16 10:52:46 UTC 2023


Am 15.11.23 um 17:15 schrieb Srinivasan Shanmugam:
> Fixes the below:
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1373: warning: Function parameter or member 'xcc_mask' not described in 'amdgpu_vm_flush_compute_tlb'
>
> 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: Christian König <christian.koenig at amd.com>

> ---
>
> v2:
>   - Updated xcc_mask description "mask of
> XCCs that belong to the compute partition in need of a TLB flush"
> (Felix)
>
>   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> index be084cbe7501..9cd2595f6c22 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> @@ -1360,6 +1360,7 @@ int amdgpu_vm_handle_moved(struct amdgpu_device *adev,
>    * @adev: amdgpu_device pointer
>    * @vm: requested vm
>    * @flush_type: flush type
> + * @xcc_mask: mask of XCCs that belong to the compute partition in need of a TLB flush.
>    *
>    * Flush TLB if needed for a compute VM.
>    *



More information about the amd-gfx mailing list