[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250407062619.62026-1-yang.lee@linux.alibaba.com>
Date: Mon, 7 Apr 2025 14:26:19 +0800
From: Yang Li <yang.lee@...ux.alibaba.com>
To: alexander.deucher@....com,
airlied@...il.com,
simona@...ll.ch,
christian.koenig@....com
Cc: amd-gfx@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
Yang Li <yang.lee@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH -next] drm/amdgpu: Improve documentation for amdgpu_sdma_register_on_reset_callbacks
The function amdgpu_sdma_register_on_reset_callbacks lacked detailed
parameter descriptions in its documentation. This patch improves the
documentation by adding specific details about the parameters and their
usage, enhancing clarity for developers.
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=20167
Signed-off-by: Yang Li <yang.lee@...ux.alibaba.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 529c9696c2f3..add252368dc2 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
@@ -539,6 +539,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 structure representing the GPU 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.32.0.3.g01195cf9f
Powered by blists - more mailing lists