From: Alex Deucher <alexander.deucher@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: Alex Deucher <alexander.deucher@amd.com>
Subject: [PATCH V5 00/11] Add disable kernel queue support
Date: Thu, 13 Mar 2025 10:41:25 -0400 [thread overview]
Message-ID: <20250313144136.1117072-1-alexander.deucher@amd.com> (raw)
To better evaluate user queues, add a module parameter
to disable kernel queues. With this set kernel queues
are disabled and only user queues are available. This
frees up hardware resources for use in user queues which
would otherwise be used by kernel queues and provides
a way to validate user queues without the presence
of kernel queues.
v2: use num_gfx_rings and num_compute_rings per
Felix suggestion
v3: include num_gfx_rings fix in amdgpu_gfx.c
v4: additional fixes
v5: MEC EOP interrupt handling fix (Sunil)
Alex Deucher (11):
drm/amdgpu: add parameter to disable kernel queues
drm/amdgpu: add ring flag for no user submissions
drm/amdgpu/gfx: add generic handling for disable_kq
drm/amdgpu/mes: centralize gfx_hqd mask management
drm/amdgpu/mes: update hqd masks when disable_kq is set
drm/amdgpu/mes: make more vmids available when disable_kq=1
drm/amdgpu/gfx11: add support for disable_kq
drm/amdgpu/gfx12: add support for disable_kq
drm/amdgpu/sdma: add flag for tracking disable_kq
drm/amdgpu/sdma6: add support for disable_kq
drm/amdgpu/sdma7: add support for disable_kq
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 4 +
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 9 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 8 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 2 +
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 30 ++--
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 26 ++-
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h | 1 +
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 191 ++++++++++++++++-------
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c | 183 +++++++++++++++-------
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | 2 +-
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 16 +-
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c | 15 +-
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c | 4 +
drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c | 4 +
17 files changed, 345 insertions(+), 155 deletions(-)
--
2.48.1
next reply other threads:[~2025-03-13 14:42 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-13 14:41 Alex Deucher [this message]
2025-03-13 14:41 ` [PATCH 01/11] drm/amdgpu: add parameter to disable kernel queues Alex Deucher
2025-03-13 14:41 ` [PATCH 02/11] drm/amdgpu: add ring flag for no user submissions Alex Deucher
2025-03-13 21:52 ` Rodrigo Siqueira
2025-03-14 1:44 ` Alex Deucher
2025-03-17 7:08 ` Liang, Prike
2025-03-17 17:15 ` Marek Olšák
2025-03-17 18:27 ` Alex Deucher
2025-03-17 20:40 ` Marek Olšák
2025-03-13 14:41 ` [PATCH 03/11] drm/amdgpu/gfx: add generic handling for disable_kq Alex Deucher
2025-03-14 11:20 ` Khatri, Sunil
2025-03-17 9:06 ` Liang, Prike
2025-03-17 13:32 ` Alex Deucher
2025-03-18 12:23 ` Liang, Prike
2025-03-13 14:41 ` [PATCH 04/11] drm/amdgpu/mes: centralize gfx_hqd mask management Alex Deucher
2025-03-19 6:12 ` Liang, Prike
2025-03-19 13:46 ` Alex Deucher
2025-03-13 14:41 ` [PATCH 05/11] drm/amdgpu/mes: update hqd masks when disable_kq is set Alex Deucher
2025-03-13 14:41 ` [PATCH 06/11] drm/amdgpu/mes: make more vmids available when disable_kq=1 Alex Deucher
2025-03-19 9:02 ` Liang, Prike
2025-03-19 13:09 ` Alex Deucher
2025-03-13 14:41 ` [PATCH 07/11] drm/amdgpu/gfx11: add support for disable_kq Alex Deucher
2025-03-13 22:08 ` Rodrigo Siqueira
2025-03-14 1:50 ` Alex Deucher
2025-03-14 11:39 ` Khatri, Sunil
2025-03-13 14:41 ` [PATCH 08/11] drm/amdgpu/gfx12: " Alex Deucher
2025-03-14 11:43 ` Khatri, Sunil
2025-03-13 14:41 ` [PATCH 09/11] drm/amdgpu/sdma: add flag for tracking disable_kq Alex Deucher
2025-03-13 14:41 ` [PATCH 10/11] drm/amdgpu/sdma6: add support for disable_kq Alex Deucher
2025-03-13 14:41 ` [PATCH 11/11] drm/amdgpu/sdma7: " Alex Deucher
2025-03-13 22:10 ` Rodrigo Siqueira
2025-03-13 22:21 ` [PATCH V5 00/11] Add disable kernel queue support Rodrigo Siqueira
2025-03-14 2:28 ` Alex Deucher
2025-03-18 17:46 ` Rodrigo Siqueira
2025-03-18 20:06 ` Alex Deucher
2025-03-25 17:32 ` Rodrigo Siqueira
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=20250313144136.1117072-1-alexander.deucher@amd.com \
--to=alexander.deucher@amd.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