MES support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest73 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/73 | drm/amdgpu: define MQD abstract layer for hw ipdrivers/ | +21 | 0 replies | |
| 2/73 | drm/amdgpu: add helper function to initialize mqd from ring v4drivers/ drivers/ | +50 | 0 replies | |
| 3/73 | drm/amdgpu: add the per-context meta data v3drivers/ drivers/ drivers/ | +128 | 0 replies | |
| 4/73 | drm/amdgpu: add mes ctx data in amdgpu_ringdrivers/ | +5 | 0 replies | |
| 5/73 | drm/amdgpu: define ring structure to access rptr/wptr/fencedrivers/ | +6 | 0 replies | |
| 6/73 | drm/amdgpu: use ring structure to access rptr/wptr v2drivers/ drivers/ drivers/ +18 more | +128 | 0 replies | |
| 7/73 | drm/amdgpu: initialize/finalize the ring for mes queuedrivers/ | +104 | 0 replies | |
| 8/73 | drm/amdgpu: assign the cpu/gpu address of fence from ringdrivers/ | +2 | 0 replies | |
| 9/73 | drm/amdgpu/gfx10: implement mqd functions of gfx/compute eng v2drivers/ | +56 | 0 replies | |
| 10/73 | drm/amdgpu/gfx10: use per ctx CSA for ce metadatadrivers/ | +19 | 0 replies | |
| 11/73 | drm/amdgpu/gfx10: use per ctx CSA for de metadatadrivers/ | +28 | 0 replies | |
| 12/73 | drm/amdgpu/gfx10: associate mes queue id with fence v2drivers/ drivers/ | +4 | 0 replies | |
| 13/73 | drm/amdgpu/gfx10: inherit vmid from mqddrivers/ | +8 | 0 replies | |
| 14/73 | drm/amdgpu/gfx10: use INVALIDATE_TLBS to invalidate TLBs v2drivers/ | +20 | 0 replies | |
| 15/73 | drm/amdgpu/gmc10: skip emitting pasid mapping packetdrivers/ | +4 | 0 replies | |
| 16/73 | drm/amdgpu: use the whole doorbell space for mesdrivers/ | +19 | 0 replies | |
| 17/73 | drm/amdgpu: update mes process/gang/queue definitionsdrivers/ | +58 | 0 replies | |
| 18/73 | drm/amdgpu: add mes_kiq module parameter v2drivers/ drivers/ drivers/ | +19 | 0 replies | |
| 19/73 | drm/amdgpu: allocate doorbell index for mes kiqdrivers/ drivers/ drivers/ | +8 | 0 replies | |
| 20/73 | drm/amdgpu/mes: extend mes framework to support multiple mes pipesdrivers/ drivers/ | +149 | 0 replies | |
| 21/73 | drm/amdgpu/gfx10: add mes queue fence handlingdrivers/ | +40 | 0 replies | |
| 22/73 | drm/amdgpu/gfx10: add mes support for gfx ib testdrivers/ | +33 | 0 replies | |
| 23/73 | drm/amdgpu: don't use kiq to flush gpu tlb if mes enableddrivers/ | +1 | 0 replies | |
| 24/73 | drm/amdgpu/sdma: use per-ctx sdma csa address for mes sdma queuedrivers/ | +16 | 0 replies | |
| 25/73 | drm/amdgpu/sdma5.2: initialize sdma mqddrivers/ | +44 | 0 replies | |
| 26/73 | drm/amdgpu/sdma5.2: associate mes queue id with fencedrivers/ | +4 | 0 replies | |
| 27/73 | drm/amdgpu/sdma5.2: add mes queue fence handlingdrivers/ | +18 | 0 replies | |
| 28/73 | drm/amdgpu/sdma5.2: add mes support for sdma ring testdrivers/ | +26 | 0 replies | |
| 29/73 | drm/amdgpu/sdma5.2: add mes support for sdma ib testdrivers/ | +36 | 0 replies | |
| 30/73 | drm/amdgpu/sdma5: initialize sdma mqddrivers/ | +44 | 0 replies | |
| 31/73 | drm/amdgpu/sdma5: associate mes queue id with fencedrivers/ | +3 | 0 replies | |
| 32/73 | drm/amdgpu/sdma5: add mes queue fence handlingdrivers/ | +18 | 0 replies | |
| 33/73 | drm/amdgpu/sdma5: add mes support for sdma ring testdrivers/ | +26 | 0 replies | |
| 34/73 | drm/amdgpu/sdma5: add mes support for sdma ib testdrivers/ | +36 | 0 replies | |
| 35/73 | drm/amdgpu: add mes kiq PSP GFX FW typedrivers/ | +6 | 0 replies | |
| 36/73 | drm/amdgpu/mes: add mes kiq callbackdrivers/ | +5 | 0 replies | |
| 37/73 | drm/amdgpu: add mes kiq frontdoor loading supportdrivers/ | +10 | 0 replies | |
| 38/73 | drm/amdgpu: enable mes kiq N-1 test on sienna cichliddrivers/ drivers/ | +184 | 0 replies | |
| 39/73 | drm/amdgpu/mes: manage mes doorbell allocationdrivers/ drivers/ | +134 | 0 replies | |
| 40/73 | drm/amdgpu: add mes queue id mask v2drivers/ | +1 | 0 replies | |
| 41/73 | drm/amdgpu/mes: initialize/finalize common mes structure v2drivers/ drivers/ | +76 | 0 replies | |
| 42/73 | drm/amdgpu/mes: relocate status_fence slot allocationdrivers/ drivers/ | +11 | 0 replies | |
| 43/73 | drm/amdgpu/mes10.1: call general mes initializationdrivers/ | +5 | 0 replies | |
| 44/73 | drm/amdgpu/mes10.1: add delay after mes engine enabledrivers/ | +1 | 0 replies | |
| 45/73 | drm/amdgpu/mes10.1: implement the suspend/resume routinedrivers/ | +16 | 0 replies | |
| 46/73 | drm/amdgpu/mes: implement creating mes process v2drivers/ drivers/ | +80 | 0 replies | |
| 47/73 | drm/amdgpu/mes: implement destroying mes processdrivers/ drivers/ | +59 | 0 replies | |
| 48/73 | drm/amdgpu/mes: implement adding mes gangdrivers/ drivers/ | +79 | 0 replies | |
| 49/73 | drm/amdgpu/mes: implement removing mes gangdrivers/ drivers/ | +31 | 0 replies | |
| 50/73 | drm/amdgpu/mes: implement suspending all gangsdrivers/ drivers/ | +27 | 0 replies | |
| 51/73 | drm/amdgpu/mes: implement resuming all gangsdrivers/ drivers/ | +26 | 0 replies | |
| 52/73 | drm/amdgpu/mes: initialize mqd from queue propertiesdrivers/ | +54 | 0 replies | |
| 53/73 | drm/amdgpu/mes: implement adding mes queuedrivers/ drivers/ | +124 | 0 replies | |
| 54/73 | drm/amdgpu/mes: implement removing mes queuedrivers/ drivers/ | +46 | 0 replies | |
| 55/73 | drm/amdgpu/mes: add helper function to convert ring to queue propertydrivers/ | +17 | 0 replies | |
| 56/73 | drm/amdgpu/mes: add helper function to get the ctx meta data offsetdrivers/ drivers/ | +38 | 0 replies | |
| 57/73 | drm/amdgpu/mes: use ring for kernel queue submissiondrivers/ drivers/ | +98 | 0 replies | |
| 58/73 | drm/amdgpu/mes: implement removing mes ringdrivers/ drivers/ | +13 | 0 replies | |
| 59/73 | drm/amdgpu/mes: add helper functions to alloc/free ctx metadatadrivers/ drivers/ | +29 | 0 replies | |
| 60/73 | drm/amdgpu: skip kfd routines when mes enableddrivers/ | +16 | 0 replies | |
| 61/73 | drm/amdgpu: Enable KFD with MES enableddrivers/ | +9 | 0 replies | |
| 62/73 | drm/amdgpu: skip some checking for mes queue ib submissiondrivers/ | +2 | 0 replies | |
| 63/73 | drm/amdgpu: skip kiq ib tests if mes enableddrivers/ | +4 | 0 replies | |
| 64/73 | drm/amdgpu: skip gds switch for mes queuedrivers/ | +2 | 0 replies | |
| 65/73 | drm/amdgpu: kiq takes charge of all queuesdrivers/ | +3 | 0 replies | |
| 66/73 | drm/amdgpu/mes: map ctx metadata for mes self testdrivers/ | +37 | 0 replies | |
| 67/73 | drm/amdgpu/mes: create gang and queues for mes self testdrivers/ | +39 | 0 replies | |
| 68/73 | drm/amdgpu/mes: add ring/ib test for mes self testdrivers/ | +32 | 0 replies | |
| 69/73 | drm/amdgpu/mes: implement mes self testdrivers/ drivers/ | +99 | 0 replies | |
| 70/73 | drm/amdgpu/mes10.1: add mes self test in late initdrivers/ | +10 | 0 replies | |
| 71/73 | drm/amdgpu/mes: fix vm csa update issuedrivers/ drivers/ | +62 | 0 replies | |
| 72/73 | drm/amdgpu/mes: disable mes sdma queue testdrivers/ | +5 | 0 replies | |
| 73/73 | drm/amdgpu/mes: Update the doorbell function signaturesdrivers/ drivers/ | +31 | 0 replies |
Reviews trailers per patch
All 73 patches have a Reviewed-by or Acked-by.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH 00/73] MES support
This patch set enables support for MES (Micro Engine Scheduler). This is similar the the HWS (HardWare Scheduler) on the MEC currently used for KFD. It's a scheduling microcontroller used for scheduling engine queues to hardware slots. This adds the basic infrastructure to enable MES in amdgpu.
Jack Xiao (70):
drm/amdgpu: define MQD abstract layer for hw ip drm/amdgpu: add helper function to initialize mqd from ring v4 drm/amdgpu: add the per-context meta data v3
drm/amdgpu: add mes ctx data in amdgpu_ring
drm/amdgpu: define ring structure to access rptr/wptr/fence drm/amdgpu: use ring structure to access rptr/wptr v2 drm/amdgpu: initialize/finalize the ring for mes queue drm/amdgpu: assign the cpu/gpu address of fence from ring drm/amdgpu/gfx10: implement mqd functions of gfx/compute eng v2 drm/amdgpu/gfx10: use per ctx CSA for ce metadata drm/amdgpu/gfx10: use per ctx CSA for de metadata drm/amdgpu/gfx10: associate mes queue id with fence v2 drm/amdgpu/gfx10: inherit vmid from mqd
drm/amdgpu/gfx10: use INVALIDATE_TLBS to invalidate TLBs v2 drm/amdgpu/gmc10: skip emitting pasid mapping packet drm/amdgpu: use the whole doorbell space for mes drm/amdgpu: update mes process/gang/queue definitions drm/amdgpu: add mes_kiq module parameter v2
drm/amdgpu: allocate doorbell index for mes kiq drm/amdgpu/mes: extend mes framework to support multiple mes pipes drm/amdgpu/gfx10: add mes queue fence handling drm/amdgpu/gfx10: add mes support for gfx ib test drm/amdgpu: don't use kiq to flush gpu tlb if mes enabled drm/amdgpu/sdma: use per-ctx sdma csa address for mes sdma queue drm/amdgpu/sdma5.2: initialize sdma mqd drm/amdgpu/sdma5.2: associate mes queue id with fence drm/amdgpu/sdma5.2: add mes queue fence handling drm/amdgpu/sdma5.2: add mes support for sdma ring test drm/amdgpu/sdma5.2: add mes support for sdma ib test drm/amdgpu/sdma5: initialize sdma mqd
drm/amdgpu/sdma5: associate mes queue id with fence drm/amdgpu/sdma5: add mes queue fence handling drm/amdgpu/sdma5: add mes support for sdma ring test drm/amdgpu/sdma5: add mes support for sdma ib test drm/amdgpu/mes: add mes kiq callback
drm/amdgpu: add mes kiq frontdoor loading support drm/amdgpu: enable mes kiq N-1 test on sienna cichlid drm/amdgpu/mes: manage mes doorbell allocation
drm/amdgpu: add mes queue id mask v2
drm/amdgpu/mes: initialize/finalize common mes structure v2 drm/amdgpu/mes: relocate status_fence slot allocation drm/amdgpu/mes10.1: call general mes initialization drm/amdgpu/mes10.1: add delay after mes engine enable drm/amdgpu/mes10.1: implement the suspend/resume routine drm/amdgpu/mes: implement creating mes process v2 drm/amdgpu/mes: implement destroying mes process drm/amdgpu/mes: implement adding mes gang
drm/amdgpu/mes: implement removing mes gang drm/amdgpu/mes: implement suspending all gangs drm/amdgpu/mes: implement resuming all gangs drm/amdgpu/mes: initialize mqd from queue properties drm/amdgpu/mes: implement adding mes queue
drm/amdgpu/mes: implement removing mes queue drm/amdgpu/mes: add helper function to convert ring to queue property drm/amdgpu/mes: add helper function to get the ctx meta data offset drm/amdgpu/mes: use ring for kernel queue submission drm/amdgpu/mes: implement removing mes ring drm/amdgpu/mes: add helper functions to alloc/free ctx metadata drm/amdgpu: skip kfd routines when mes enabled
drm/amdgpu: skip some checking for mes queue ib submission drm/amdgpu: skip kiq ib tests if mes enabled
drm/amdgpu: skip gds switch for mes queue
drm/amdgpu: kiq takes charge of all queues
drm/amdgpu/mes: map ctx metadata for mes self test drm/amdgpu/mes: create gang and queues for mes self test drm/amdgpu/mes: add ring/ib test for mes self test drm/amdgpu/mes: implement mes self test drm/amdgpu/mes10.1: add mes self test in late init drm/amdgpu/mes: fix vm csa update issue
drm/amdgpu/mes: disable mes sdma queue test
Likun Gao (1):
drm/amdgpu: add mes kiq PSP GFX FW type
Mukul Joshi (2):
drm/amdgpu: Enable KFD with MES enabled drm/amdgpu/mes: Update the doorbell function signatures
drivers/gpu/drm/amd/amdgpu/Makefile | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu.h | 24 + drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 42 +- drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 10 + drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 8 +- drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 1138 ++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 168 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_mes_ctx.h | 121 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 6 + drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 193 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 22 + drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | 24 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 10 + drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 3 +- drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 8 +- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 383 +++--- drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 8 +- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 16 +- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 20 +- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 25 +- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c | 4 +- drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/mes_v10_1.c | 461 ++++--- drivers/gpu/drm/amd/amdgpu/nv.c | 3 +- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 8 +- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 16 +- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 28 +- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 169 ++- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 171 ++- drivers/gpu/drm/amd/amdgpu/si_dma.c | 4 +- drivers/gpu/drm/amd/amdgpu/soc21.c | 3 +- drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/vce_v4_0.c | 6 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 12 +- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 12 +- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 12 +- 41 files changed, 2619 insertions(+), 553 deletions(-) create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_mes_ctx.h
Signature · 1 line
2.35.1