Re: [PATCH] drm/amdgpu: update outdated comment for renamed amdgpu_fence_driver_init()

From: Alex Deucher

Date: Tue Mar 24 2026 - 09:30:32 EST


Applied. thanks!

On Sat, Mar 21, 2026 at 7:44 AM Kexin Sun <kexinsun@xxxxxxxxxxxxxxxx> wrote:
>
> The function amdgpu_fence_driver_init() was renamed to
> amdgpu_fence_driver_sw_init() by commit 067f44c8b459
> ("drm/amdgpu: avoid over-handle of fence driver fini in s3
> test (v2)"). Update the stale reference in the
> amdgpu_fence_driver_init_ring() kdoc.
>
> Assisted-by: unnamed:deepseek-v3.2 coccinelle
> Signed-off-by: Kexin Sun <kexinsun@xxxxxxxxxxxxxxxx>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
> index 1054d66c54fa..37534f66c755 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
> @@ -458,7 +458,7 @@ int amdgpu_fence_driver_start_ring(struct amdgpu_ring *ring,
> * @ring: ring to init the fence driver on
> *
> * Init the fence driver for the requested ring (all asics).
> - * Helper function for amdgpu_fence_driver_init().
> + * Helper function for amdgpu_fence_driver_sw_init().
> */
> int amdgpu_fence_driver_init_ring(struct amdgpu_ring *ring)
> {
> --
> 2.25.1
>