From: "Chen, Xiaogang" <xiaogang.chen@amd.com>
To: amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/amdgpu/: Add missing kdoc entry in amdgpu_vm_handle_fault function
Date: Mon, 26 Aug 2024 10:15:27 -0500 [thread overview]
Message-ID: <1f29420a-0780-43cb-9df3-2607be05df35@amd.com> (raw)
In-Reply-To: <20240826132611.3331242-1-srinivasan.shanmugam@amd.com>
[-- Attachment #1: Type: text/plain, Size: 1828 bytes --]
It was generated from my patch "drm/amdkfd: Change kfd/svm page fault
drain handling". kernel test robot <lkp@intel.com> also reported same.
Please add:
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot<lkp@intel.com>
| Closes:https://lore.kernel.org/oe-kbuild-all/202408251419.vgZHg3GV-lkp@intel.com/
Regards
Xiaogang
On 8/26/2024 8:26 AM, Srinivasan Shanmugam wrote:
> Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
>
>
> This commit adds a description for the 'ts' parameter in the
> amdgpu_vm_handle_fault function's comment block.
>
> Fixes the below with gcc W=1:
> drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:2781: warning: Function parameter or struct member 'ts' not described in 'amdgpu_vm_handle_fault'
>
> Cc: Christian König<christian.koenig@amd.com>
> Cc: Alex Deucher<alexander.deucher@amd.com>
> Signed-off-by: Srinivasan Shanmugam<srinivasan.shanmugam@amd.com>
> ---
> 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 ad2e469548c9..0fa165e8fb40 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> @@ -2766,6 +2766,7 @@ int amdgpu_vm_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
> * amdgpu_vm_handle_fault - graceful handling of VM faults.
> * @adev: amdgpu device pointer
> * @pasid: PASID of the VM
> + * @ts: Timestamp of the fault
> * @vmid: VMID, only used for GFX 9.4.3.
> * @node_id: Node_id received in IH cookie. Only applicable for
> * GFX 9.4.3.
> --
> 2.34.1
>
[-- Attachment #2: Type: text/html, Size: 39660 bytes --]
prev parent reply other threads:[~2024-08-26 15:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-26 13:26 [PATCH] drm/amdgpu/: Add missing kdoc entry in amdgpu_vm_handle_fault function Srinivasan Shanmugam
2024-08-26 15:15 ` Chen, Xiaogang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1f29420a-0780-43cb-9df3-2607be05df35@amd.com \
--to=xiaogang.chen@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox