Skip to content

Move gfx9.4.3 and gfx 9.5.0 MQD to HBM

Philip Yang amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Changes in v1 from the cover letter

- patch 2 add HDP flush after MQD updated

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/amdkfd: Add domain parameter to alloc kernel BOdrivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +9 more+45 -390 replies
2/3drm/amdkfd: Move gfx9.4.3 and gfx 9.5 MQD to HBMdrivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c+24 -21 reply
3/3drm/amdkfd: Map VRAM MQD on GARTdrivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c +2 more+93 -21 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchKent RussellFelix Kuehling
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/3] Move gfx9.4.3 and gfx 9.5.0 MQD to HBM

To reduce multiple queues switch latency, move user queues MQD to HBM, and map on GART with mtype RW.

v1:
- patch 2 add HDP flush after MQD updated

Start new patch series v1 because two patches in previous patch series merged in already for general fix and helper function.

624bf8ab05ff drm/amdgpu: Add helper to alloc GART entries d33a6691b65b drm/amdgpu: Fix gfx9 update PTE mtype flag

Philip Yang (3):
drm/amdkfd: Add domain parameter to alloc kernel BO drm/amdkfd: Move gfx9.4.3 and gfx 9.5 MQD to HBM drm/amdkfd: Map VRAM MQD on GART

 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c    | 13 ++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h    |  6 +-
 .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c  |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c       | 74 +++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h       |  6 +-
 drivers/gpu/drm/amd/amdkfd/kfd_debug.c        |  3 +-
 drivers/gpu/drm/amd/amdkfd/kfd_device.c       | 13 ++--
 .../drm/amd/amdkfd/kfd_device_queue_manager.c |  7 +-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c  | 16 ++--
 .../drm/amd/amdkfd/kfd_mqd_manager_v12_1.c    |  4 +-
 .../gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c   | 42 ++++++++++-
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h         |  3 +-
 drivers/gpu/drm/amd/amdkfd/kfd_process.c      |  2 +-
 .../amd/amdkfd/kfd_process_queue_manager.c    | 12 +--
 14 files changed, 161 insertions(+), 42 deletions(-)
Signature · 1 line
2.50.1