* [PATCH] drm/amdgpu: Fix the comment to avoid warning
@ 2025-04-03 7:29 Sunil Khatri
2025-04-03 9:03 ` Christian König
0 siblings, 1 reply; 3+ messages in thread
From: Sunil Khatri @ 2025-04-03 7:29 UTC (permalink / raw)
To: amd-gfx; +Cc: Alex Deucher, Christian König, Sunil Khatri
Fix the below comment warning
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c:541:
warning: Function parameter or struct member 'adev'
not described in 'amdgpu_sdma_register_on_reset_callbacks'
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
index 0a9893fee828..c3c6f03190c8 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
@@ -531,6 +531,7 @@ bool amdgpu_sdma_is_shared_inv_eng(struct amdgpu_device *adev, struct amdgpu_rin
/**
* amdgpu_sdma_register_on_reset_callbacks - Register SDMA reset callbacks
+ * @adev: Pointer to the AMDGPU device
* @funcs: Pointer to the callback structure containing pre_reset and post_reset functions
*
* This function allows KFD and AMDGPU to register their own callbacks for handling
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/amdgpu: Fix the comment to avoid warning
2025-04-03 7:29 [PATCH] drm/amdgpu: Fix the comment to avoid warning Sunil Khatri
@ 2025-04-03 9:03 ` Christian König
2025-04-08 7:22 ` SHANMUGAM, SRINIVASAN
0 siblings, 1 reply; 3+ messages in thread
From: Christian König @ 2025-04-03 9:03 UTC (permalink / raw)
To: Sunil Khatri, amd-gfx; +Cc: Alex Deucher
Am 03.04.25 um 09:29 schrieb Sunil Khatri:
> Fix the below comment warning
> drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c:541:
> warning: Function parameter or struct member 'adev'
> not described in 'amdgpu_sdma_register_on_reset_callbacks'
>
> Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
> index 0a9893fee828..c3c6f03190c8 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
> @@ -531,6 +531,7 @@ bool amdgpu_sdma_is_shared_inv_eng(struct amdgpu_device *adev, struct amdgpu_rin
>
> /**
> * amdgpu_sdma_register_on_reset_callbacks - Register SDMA reset callbacks
> + * @adev: Pointer to the AMDGPU device
> * @funcs: Pointer to the callback structure containing pre_reset and post_reset functions
> *
> * This function allows KFD and AMDGPU to register their own callbacks for handling
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] drm/amdgpu: Fix the comment to avoid warning
2025-04-03 9:03 ` Christian König
@ 2025-04-08 7:22 ` SHANMUGAM, SRINIVASAN
0 siblings, 0 replies; 3+ messages in thread
From: SHANMUGAM, SRINIVASAN @ 2025-04-08 7:22 UTC (permalink / raw)
To: Khatri, Sunil
Cc: Deucher, Alexander, amd-gfx@lists.freedesktop.org,
Koenig, Christian
[AMD Official Use Only - AMD Internal Distribution Only]
This was submitted much before https://patchwork.freedesktop.org/patch/639004/
-----Original Message-----
From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Christian König
Sent: Thursday, April 3, 2025 2:33 PM
To: Khatri, Sunil <Sunil.Khatri@amd.com>; amd-gfx@lists.freedesktop.org
Cc: Deucher, Alexander <Alexander.Deucher@amd.com>
Subject: Re: [PATCH] drm/amdgpu: Fix the comment to avoid warning
Am 03.04.25 um 09:29 schrieb Sunil Khatri:
> Fix the below comment warning
> drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c:541:
> warning: Function parameter or struct member 'adev'
> not described in 'amdgpu_sdma_register_on_reset_callbacks'
>
> Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
> index 0a9893fee828..c3c6f03190c8 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
> @@ -531,6 +531,7 @@ bool amdgpu_sdma_is_shared_inv_eng(struct amdgpu_device *adev, struct amdgpu_rin
>
> /**
> * amdgpu_sdma_register_on_reset_callbacks - Register SDMA reset callbacks
> + * @adev: Pointer to the AMDGPU device
> * @funcs: Pointer to the callback structure containing pre_reset and post_reset functions
> *
> * This function allows KFD and AMDGPU to register their own callbacks for handling
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-04-08 7:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-03 7:29 [PATCH] drm/amdgpu: Fix the comment to avoid warning Sunil Khatri
2025-04-03 9:03 ` Christian König
2025-04-08 7:22 ` SHANMUGAM, SRINIVASAN
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.