From: Alexandre Demers <alexandre.f.demers@gmail.com>
To: amd-gfx@lists.freedesktop.org
Subject: [PATCH 0/5] Small tidy up of CIK code
Date: Sat, 22 Mar 2025 14:37:41 -0400 [thread overview]
Message-ID: <20250322183746.86002-1-alexandre.f.demers@gmail.com> (raw)
This series tidy up CIK code a bit.
It uses some functions already available to remove redundant code in GMC7
and CIK SDMA.
Some GOLDEN defines are moved into GFX7, the only place where they are used.
It fixes coding style in VI and DCE8.
Alexandre Demers (5):
drm/amdgpu: use gmc_v7_0_is_idle() since it is available under GMC7
drm/amdgpu: use cik_sdma_is_idle() in CIK SDMA
drm/amdgpu: small cleanup to CIK SDMA
drm/amdgpu: move X_GB_ADDR_CONFIG_GOLDEN in GFX7
drm/amdgpu: fix style in dce_v8_0.c and in vi.c
drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 18 ++++--------------
drivers/gpu/drm/amd/amdgpu/cikd.h | 3 ---
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 10 +++-------
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 3 +++
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 9 +--------
drivers/gpu/drm/amd/amdgpu/vi.c | 8 ++++++++
6 files changed, 18 insertions(+), 31 deletions(-)
--
2.49.0
next reply other threads:[~2025-03-22 18:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-22 18:37 Alexandre Demers [this message]
2025-03-22 18:37 ` [PATCH 1/5] drm/amdgpu: use gmc_v7_0_is_idle() since it is available under GMC7 Alexandre Demers
2025-03-24 18:23 ` Alex Deucher
2025-03-22 18:37 ` [PATCH 2/5] drm/amdgpu: use cik_sdma_is_idle() in CIK SDMA Alexandre Demers
2025-03-22 18:37 ` [PATCH 3/5] drm/amdgpu: small cleanup to " Alexandre Demers
2025-03-22 18:37 ` [PATCH 4/5] drm/amdgpu: move X_GB_ADDR_CONFIG_GOLDEN in GFX7 Alexandre Demers
2025-03-22 18:37 ` [PATCH 6/5] drm/amdgpu: fix style in dce_v8_0.c and in vi.c Alexandre Demers
2025-03-22 18:46 ` Alexandre Demers
2025-03-24 18:20 ` Alex Deucher
2025-03-27 4:16 ` Alexandre Demers
2025-03-27 15:21 ` Alex Deucher
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=20250322183746.86002-1-alexandre.f.demers@gmail.com \
--to=alexandre.f.demers@gmail.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