From: sashiko-bot@kernel.org
To: linux@treblig.org
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 3/4] drm/amdgpu: Remove is_idle (non trivial functions)
Date: Sat, 15 Aug 2026 18:37:48 +0000 [thread overview]
Message-ID: <20260815183749.21F7F1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260815180033.8958-4-linux@treblig.org>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Incomplete API cleanup: The `is_idle` function pointer remains defined in `struct amd_ip_funcs`.
--
--- Patch [3]: [PATCH 3/4] drm/amdgpu: Remove is_idle (non trivial functions) ---
commit cf17e80a1ef9c0d7e6925465357af056c949e840
Author: Dr. David Alan Gilbert <linux@treblig.org>
drm/amdgpu: Remove is_idle (non trivial functions)
This commit removes the various is_idle implementations across the amdgpu
driver since the method is never called. The same logic is mostly duplicated
in the wait_for_idle method which remains in use.
> diff --git a/drivers/gpu/drm/amd/amdgpu/cik_ih.c b/drivers/gpu/drm/amd/amdgpu/cik_ih.c
> --- a/drivers/gpu/drm/amd/amdgpu/cik_ih.c
> +++ b/drivers/gpu/drm/amd/amdgpu/cik_ih.c
[ ... ]
> @@ -435,7 +424,6 @@ static const struct amd_ip_funcs cik_ih_ip_funcs = {
> .hw_fini = cik_ih_hw_fini,
> .suspend = cik_ih_suspend,
> .resume = cik_ih_resume,
> - .is_idle = cik_ih_is_idle,
> .wait_for_idle = cik_ih_wait_for_idle,
[Severity: Low]
Since we are removing the .is_idle assignments across the tree, is it also
worth removing the is_idle function pointer from the struct amd_ip_funcs
definition in drivers/gpu/drm/amd/include/amd_shared.h to complete the
API cleanup?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260815180033.8958-1-linux@treblig.org?part=3
next prev parent reply other threads:[~2026-08-15 18:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-15 18:00 [PATCH 0/4] drm/amdgpu: Remove is_idle method linux
2026-08-15 18:00 ` [PATCH 1/4] drm/amdgpu: Remove is_idle test case linux
2026-08-15 18:00 ` [PATCH 2/4] drm/amdgpu: Remove is_idle (trivial cases) linux
2026-08-15 18:00 ` [PATCH 3/4] drm/amdgpu: Remove is_idle (non trivial functions) linux
2026-08-15 18:37 ` sashiko-bot [this message]
2026-08-15 18:49 ` Dr. David Alan Gilbert
2026-08-15 18:00 ` [PATCH 4/4] drm/amdgpu: Remove is_idle linux
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=20260815183749.21F7F1F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux@treblig.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 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.