Upstreaming prep / all of mbrosts patches
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest31 patches 93 repliesIn review
- v130 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/31 | drm/sched: Add run_wq argument to drm_sched_initdrivers/ drivers/ drivers/ +7 more | +16 | 3 replies | |
| 2/31 | drm/sched: Move schedule policy to schedulerdrivers/ drivers/ drivers/ +8 more | +72 | 2 replies | |
| 3/31 | drm/sched: Add DRM_SCHED_POLICY_SINGLE_ENTITY scheduling policydrivers/ drivers/ drivers/ +1 more | +115 | 2 replies | |
| 4/31 | drm/xe: Use DRM_SCHED_POLICY_SINGLE_ENTITY modedrivers/ drivers/ | +3 | 1 reply | |
| 5/31 | drm/xe: Long running job updatedrivers/ drivers/ drivers/ +3 more | +137 | 8 replies | |
| 6/31 | drm/xe: Ensure LR engines are not persistentdrivers/ | +3 | 3 replies | |
| 7/31 | drm/xe: Only try to lock external BOs in VM binddrivers/ | +5 | 8 replies | |
| 8/31 | drm/xe: VM LRU bulk movedrivers/ drivers/ drivers/ +2 more | +40 | 10 replies | |
| 9/31 | drm/xe/guc: Read HXG fields from DW1 of G2H responsedrivers/ | +3 | 2 replies | |
| 10/31 | drm/xe/guc: Return the lower part of blocking H2G messagedrivers/ drivers/ drivers/ | +10 | 3 replies | |
| 11/31 | drm/xe/guc: Use doorbells for submission if possibledrivers/ drivers/ drivers/ +4 more | +315 | 7 replies | |
| 12/31 | drm/xe/guc: Print doorbell ID in GuC engine debugfs entrydrivers/ | +2 | 2 replies | |
| 13/31 | maple_tree: split up MA_STATE() macroinclude/ | +5 | 2 replies | |
| 14/31 | maple_tree: Export mas_preallocatelib/ | +1 | 2 replies | |
| 15/31 | drm: manager to keep track of GPUs VA mappingsDocumentation/ drivers/ drivers/ +6 more | +2549 | 2 replies | |
| 16/31 | drm/xe: Port Xe to GPUVAdrivers/ drivers/ drivers/ +9 more | +1171 | 3 replies | |
| 17/31 | drm/xe: NULL binding implementationdrivers/ drivers/ drivers/ +6 more | +144 | 3 replies | |
| 18/31 | drm/xe: Avoid doing rebindsdrivers/ drivers/ drivers/ | +67 | 1 reply | |
| 19/31 | drm/xe: Reduce the number list links in xe_vmadrivers/ drivers/ drivers/ +1 more | +55 | 2 replies | |
| 20/31 | drm/xe: Optimize size of xe_vma allocationdrivers/ drivers/ | +57 | 3 replies | |
| 21/31 | drm/gpuva: Add drm device to GPUVA managerdrivers/ drivers/ drivers/ +4 more | +46 | 2 replies | |
| 22/31 | drm/gpuva: Move dma-resv to GPUVA managerdrivers/ drivers/ drivers/ +7 more | +50 | 1 reply | |
| 23/31 | drm/gpuva: Add support for extobjdrivers/ drivers/ drivers/ +3 more | +105 | 1 reply | |
| 24/31 | drm/xe: Userptr refactordrivers/ drivers/ drivers/ +2 more | +89 | 2 replies | |
| 25/31 | drm: execution context for GEM buffers v3Documentation/ drivers/ drivers/ +2 more | +383 | 0 replies | |
| 26/31 | drm/exec: Always compile drm_execdrivers/ | +1 | 3 replies | |
| 27/31 | drm/xe: Use drm_exec for locking rather than TTM exec helpersdrivers/ drivers/ drivers/ +15 more | +315 | 2 replies | |
| 28/31 | drm/xe: Allow dma-fences as in-syncs for compute / faulting VMdrivers/ | +7 | 4 replies | |
| 29/31 | drm/xe: Allow compute VMs to output dma-fences on bindsdrivers/ | +1 | 2 replies | |
| 30/31 | drm/xe: remove async worker, sync binds, new error handlingdrivers/ drivers/ drivers/ +7 more | +213 | 1 reply | |
| 31/31 | drm/xe/uapi: Add some VM bind kernel docinclude/ | +42 | 2 replies |
Reviews trailers per patch
10 of 31 patches have a Reviewed-by or Acked-by.
| Patch | Rodrigo Vivi | Thomas Hellström |
|---|---|---|
| 1/31 | ||
| 2/31 | ||
| 3/31 | R-b | |
| 4/31 | R-b | |
| 5/31 | ||
| 6/31 | R-b | |
| 7/31 | R-b | |
| 8/31 | ||
| 9/31 | R-b | A-b |
| 10/31 | ||
| 11/31 | ||
| 12/31 | R-b | R-b |
| 13/31 | ||
| 14/31 | ||
| 15/31 | ||
| 16/31 | ||
| 17/31 | ||
| 18/31 | ||
| 19/31 | R-b | |
| 20/31 | ||
| 21/31 | ||
| 22/31 | ||
| 23/31 | ||
| 24/31 | ||
| 25/31 | ||
| 26/31 | ||
| 27/31 | ||
| 28/31 | R-b | R-b |
| 29/31 | R-b | |
| 30/31 | ||
| 31/31 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Intel-xe] [PATCH v2 00/31] Upstreaming prep / all of mbrosts patches
Series includes:
- DRM scheduler changes for firmware backends (1 to 1 entity to scheduler)
- LR workload story
- VM LRU handling
- GuC doorbell submission
- Basic GPUVA
- Sparse binding support
- GPUVA + extobj + drm exec (collaboration with dakr + Francois Dugast)
- GPUVA + userptr (minimal, more can be once Nouveua has userptr)
- Fix fencing rules for compute / fault mode
- Remove async worker for VM + error handling updates
- Kernel doc for VM bind
Series is not fully ready for upstream and some of these things need to get merged upstream first but overall it is largely correct and certainly step in the right direction. Based on its size and the fact it took me 8 hours to rebase this today I'd say let's get this tree and fixup everything else in place.
Minor uAPI breakage, IGT series:
https://patchwork.freedesktop.org/series/117177/
gitlab link:
https://gitlab.freedesktop.org/drm/xe/kernel/-/merge_requests/344
Christian König (1):
drm: execution context for GEM buffers v3
Danilo Krummrich (2):
maple_tree: split up MA_STATE() macro
drm: manager to keep track of GPUs VA mappings
Matthew Brost (28):
drm/sched: Add run_wq argument to drm_sched_init drm/sched: Move schedule policy to scheduler drm/sched: Add DRM_SCHED_POLICY_SINGLE_ENTITY scheduling policy drm/xe: Use DRM_SCHED_POLICY_SINGLE_ENTITY mode drm/xe: Long running job update
drm/xe: Ensure LR engines are not persistent
drm/xe: Only try to lock external BOs in VM bind drm/xe: VM LRU bulk move
drm/xe/guc: Read HXG fields from DW1 of G2H response drm/xe/guc: Return the lower part of blocking H2G message drm/xe/guc: Use doorbells for submission if possible drm/xe/guc: Print doorbell ID in GuC engine debugfs entry
maple_tree: Export mas_preallocate
drm/xe: Port Xe to GPUVA
drm/xe: NULL binding implementation
drm/xe: Avoid doing rebinds
drm/xe: Reduce the number list links in xe_vma drm/xe: Optimize size of xe_vma allocation
drm/gpuva: Add drm device to GPUVA manager
drm/gpuva: Move dma-resv to GPUVA manager
drm/gpuva: Add support for extobj
drm/xe: Userptr refactor
drm/exec: Always compile drm_exec
drm/xe: Use drm_exec for locking rather than TTM exec helpers drm/xe: Allow dma-fences as in-syncs for compute / faulting VM drm/xe: Allow compute VMs to output dma-fences on binds drm/xe: remove async worker, sync binds, new error handling drm/xe/uapi: Add some VM bind kernel doc
Documentation/gpu/drm-mm.rst | 43 + drivers/gpu/drm/Kconfig | 6 + drivers/gpu/drm/Makefile | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +- drivers/gpu/drm/drm_debugfs.c | 41 + drivers/gpu/drm/drm_exec.c | 248 ++ drivers/gpu/drm/drm_gem.c | 3 + drivers/gpu/drm/drm_gpuva_mgr.c | 1779 ++++++++++++ drivers/gpu/drm/etnaviv/etnaviv_sched.c | 5 +- drivers/gpu/drm/i915/display/intel_display.c | 6 +- drivers/gpu/drm/lima/lima_sched.c | 5 +- drivers/gpu/drm/msm/msm_ringbuffer.c | 5 +- drivers/gpu/drm/panfrost/panfrost_job.c | 5 +- drivers/gpu/drm/scheduler/sched_entity.c | 84 +- drivers/gpu/drm/scheduler/sched_fence.c | 2 +- drivers/gpu/drm/scheduler/sched_main.c | 88 +- drivers/gpu/drm/v3d/v3d_sched.c | 25 +- drivers/gpu/drm/xe/Kconfig | 1 + drivers/gpu/drm/xe/regs/xe_guc_regs.h | 1 + drivers/gpu/drm/xe/tests/xe_bo.c | 26 +- drivers/gpu/drm/xe/tests/xe_migrate.c | 6 +- drivers/gpu/drm/xe/xe_bo.c | 100 +- drivers/gpu/drm/xe/xe_bo.h | 13 +- drivers/gpu/drm/xe/xe_bo_evict.c | 24 +- drivers/gpu/drm/xe/xe_bo_types.h | 1 - drivers/gpu/drm/xe/xe_device.c | 2 +- drivers/gpu/drm/xe/xe_dma_buf.c | 2 +- drivers/gpu/drm/xe/xe_engine.c | 50 +- drivers/gpu/drm/xe/xe_engine.h | 4 + drivers/gpu/drm/xe/xe_engine_types.h | 1 + drivers/gpu/drm/xe/xe_exec.c | 117 +- drivers/gpu/drm/xe/xe_execlist.c | 3 +- drivers/gpu/drm/xe/xe_gt_pagefault.c | 84 +- drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 14 +- drivers/gpu/drm/xe/xe_guc.c | 6 + drivers/gpu/drm/xe/xe_guc_ct.c | 12 +- drivers/gpu/drm/xe/xe_guc_engine_types.h | 9 + drivers/gpu/drm/xe/xe_guc_pc.c | 6 +- drivers/gpu/drm/xe/xe_guc_submit.c | 398 ++- drivers/gpu/drm/xe/xe_guc_submit.h | 1 + drivers/gpu/drm/xe/xe_guc_types.h | 4 + drivers/gpu/drm/xe/xe_huc.c | 2 +- drivers/gpu/drm/xe/xe_lrc.c | 8 +- drivers/gpu/drm/xe/xe_migrate.c | 31 +- drivers/gpu/drm/xe/xe_pt.c | 198 +- drivers/gpu/drm/xe/xe_sync.c | 26 +- drivers/gpu/drm/xe/xe_sync.h | 2 +- drivers/gpu/drm/xe/xe_trace.h | 20 +- drivers/gpu/drm/xe/xe_vm.c | 2567 +++++++----------- drivers/gpu/drm/xe/xe_vm.h | 135 +- drivers/gpu/drm/xe/xe_vm_madvise.c | 125 +- drivers/gpu/drm/xe/xe_vm_types.h | 324 ++- drivers/gpu/drm/xe/xe_wait_user_fence.c | 43 +- include/drm/drm_debugfs.h | 24 + include/drm/drm_drv.h | 7 + include/drm/drm_exec.h | 115 + include/drm/drm_gem.h | 75 + include/drm/drm_gpuva_mgr.h | 759 ++++++ include/drm/gpu_scheduler.h | 29 +- include/linux/maple_tree.h | 7 +- include/uapi/drm/xe_drm.h | 128 +- lib/maple_tree.c | 1 + 62 files changed, 5543 insertions(+), 2320 deletions(-) create mode 100644 drivers/gpu/drm/drm_exec.c create mode 100644 drivers/gpu/drm/drm_gpuva_mgr.c create mode 100644 include/drm/drm_exec.h create mode 100644 include/drm/drm_gpuva_mgr.h
Signature · 1 line
2.34.1