diff options
| author | Geoffrey McRae <geoffrey.mcrae@amd.com> | 2026-06-24 12:34:06 +1000 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-01 11:42:42 -0400 |
| commit | 20f7f9b6fb40b55f94f75849baa30c899fb3a0ed (patch) | |
| tree | 11fb6a7693e239955ff22ece435d19229f241d58 /tools/perf/scripts/python | |
| parent | 89db46e455abf1654f88d36e5429cb408abbc95e (diff) | |
drm/amdkfd: use amdgpu ring types for MES queue
The MES interface takes queue types as enum amdgpu_ring_type values.
The MES backend is responsible for converting those values to
firmware-facing MES_QUEUE_TYPE values when building MES packets.
The KFD queue manager was converting KFD queue types directly to
MES_QUEUE_TYPE values before filling the MES input structures. That is
the wrong abstraction level for the generic MES interface.
Change the KFD helper to return AMDGPU_RING_TYPE_* values and rename it
to make the expected type explicit. Use the helper for the add, remove,
and reset MES paths.
Signed-off-by: Geoffrey McRae <geoffrey.mcrae@amd.com>
Reviewed-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
