From: Alex Deucher <alexander.deucher@amd.com>
To: <amd-gfx@lists.freedesktop.org>, <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Subject: [PATCH 18/23] drm/amdgpu/gmc10: use SDMA for gart TLB invalidation
Date: Fri, 11 Sep 2026 13:55:39 -0400 [thread overview]
Message-ID: <20260911175544.1314467-19-alexander.deucher@amd.com> (raw)
In-Reply-To: <20260911175544.1314467-1-alexander.deucher@amd.com>
Use SDMA rather than KIQ/MMIO. This is recommended by
the hubs team and aligns with what other OSes do.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
index 3d545e0ebfd86..fa0fc4dc724c6 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
@@ -788,6 +788,7 @@ static int gmc_v10_0_hw_init(struct amdgpu_ip_block *ip_block)
adev->gmc.flush_pasid_uses_kiq = !amdgpu_emu_mode;
if (adev->gmc.flush_pasid_uses_kiq)
adev->gmc.pasid_inv_method = AMDGPU_TLB_INV_METHOD_KIQ;
+ adev->gmc.gart_inv_method = AMDGPU_TLB_INV_METHOD_SDMA;
/* The sequence of these two function calls matters.*/
gmc_v10_0_init_golden_registers(adev);
--
2.55.0
next prev parent reply other threads:[~2026-09-11 17:56 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-11 17:55 [PATCH V3 00/23] Rework GPU TLB invalidation Alex Deucher
2026-09-11 17:55 ` [PATCH 01/23] drm/amdgpu/gmc9: disallow gfxoff around TLB flushes Alex Deucher
2026-09-11 17:55 ` [PATCH 02/23] drm/amdgpu/gmc10: " Alex Deucher
2026-09-11 17:55 ` [PATCH 03/23] drm/amdgpu/gmc11: " Alex Deucher
2026-09-11 17:55 ` [PATCH 04/23] drm/amdgpu/gmc12: " Alex Deucher
2026-09-11 17:55 ` [PATCH 05/23] drm/amdgpu/gmc9: set vmhub funcs for gfxhub and mmhub Alex Deucher
2026-09-11 17:55 ` [PATCH 06/23] drm/amdgpu: add a buffer funcs callback for TLB invalidation Alex Deucher
2026-09-11 17:55 ` [PATCH 07/23] drm/amdgpu/sdma5.0: add tlb invalidation buffer func callback Alex Deucher
2026-09-11 17:55 ` [PATCH 08/23] drm/amdgpu/sdma5.2: " Alex Deucher
2026-09-11 17:55 ` [PATCH 09/23] drm/amdgpu/sdma6: " Alex Deucher
2026-09-11 17:55 ` [PATCH 10/23] drm/amdgpu/sdma7: " Alex Deucher
2026-09-11 17:55 ` [PATCH 11/23] drm/amdgpu: add tlb invalidation method enum Alex Deucher
2026-09-11 17:55 ` [PATCH 12/23] drm/amdgpu: plumb tlb inv method in amdgpu_gmc_flush_gpu_tlb() Alex Deucher
2026-09-11 17:55 ` [PATCH 13/23] drm/amdgpu: uplevel reset check " Alex Deucher
2026-09-11 17:55 ` [PATCH 14/23] drm/amdgpu/gmc: add new callback to lookup vmid to pasid mapping Alex Deucher
2026-09-11 17:55 ` [PATCH 15/23] drm/amdgpu: add a gmc callback for the inv semaphore Alex Deucher
2026-09-11 17:55 ` [PATCH 16/23] drm/amdgpu/gmc: rework pasid flushing Alex Deucher
2026-09-11 17:55 ` [PATCH 17/23] drm/amdgpu/gmc: add helpers for various tlb inv functions Alex Deucher
2026-09-11 17:55 ` Alex Deucher [this message]
2026-09-11 17:55 ` [PATCH 19/23] drm/amdgpu/gmc11: use SDMA for gart TLB invalidation Alex Deucher
2026-09-11 17:55 ` [PATCH 20/23] drm/amdgpu/gmc12: " Alex Deucher
2026-09-11 17:55 ` [PATCH 21/23] drm/amdgpu/gmc10: use SDMA for pasid " Alex Deucher
2026-09-11 17:55 ` [PATCH 22/23] drm/amdgpu/gmc11: " Alex Deucher
2026-09-11 17:55 ` [PATCH 23/23] drm/amdgpu/gmc12: use MES or " 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=20260911175544.1314467-19-alexander.deucher@amd.com \
--to=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
/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