drm/msm: A couple lazy-vm fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest17 patches 0 repliesNew
- v616 patches 0 repliesSuperseded
- v510 patches 0 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 6 patches | 0 replies | Superseded | |
| v3 | 4 patches | 0 replies | Superseded | |
| v2 | 3 patches | 0 replies | Superseded | |
| v1 | 2 patches | 0 replies | Superseded |
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | drm/msm: Fix barriers accessing ctx vmdrivers/ | +7 | 0 replies | |
| 2/17 | drm/msm: Rework queuelockdrivers/ drivers/ drivers/ | +6 | 0 replies | |
| 3/17 | drm/msm: Synchronize VM creation on ctxlockdrivers/ drivers/ | +5 | 0 replies | |
| 4/17 | drm/msm: Synchronize set_sysprof on ctxlockdrivers/ | +2 | 0 replies | |
| 5/17 | drm/msm: Move nr_cmds initializationdrivers/ | +3 | 0 replies | |
| 6/17 | drm/msm: Remove redundant SIZE_MAX checkdrivers/ | +0 | 0 replies | |
| 7/17 | drm/msm/a6xx: Access VM directly in submit pathdrivers/ | +1 | 0 replies | |
| 8/17 | drm/msm: Add helper to check for per-process pgtables VMdrivers/ | +8 | 0 replies | |
| 9/17 | drm/msm/gem: Fix dma_buf import error pathsdrivers/ drivers/ drivers/ | +17 | 0 replies | |
| 10/17 | drm/msm/gem: Remove useless locking in GEM importdrivers/ | +0 | 0 replies | |
| 11/17 | drm/msm/gem: Extract bookkeeping init helperdrivers/ | +19 | 0 replies | |
| 12/17 | drm/msm/gem: Set resv before exposing objdrivers/ drivers/ drivers/ +2 more | +24 | 0 replies | |
| 13/17 | drm/msm/gem: Validate lazy VM in GEM_NEWdrivers/ | +4 | 0 replies | |
| 14/17 | drm/msm: Allow lazy VM creation to faildrivers/ drivers/ drivers/ +2 more | +32 | 0 replies | |
| 15/17 | drm/msm: Don't fallback to shared VM for VM_BINDdrivers/ drivers/ | +3 | 0 replies | |
| 16/17 | drm/msm: Fix per-process-pgtables checkdrivers/ | +1 | 0 replies | |
| 17/17 | drm/msm: Fixup invalid overflow checkdrivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.
Cover letter [PATCH v7 00/17] drm/msm: A couple lazy-vm fixes
The VM is created lazily to give userspace a chance to opt-in to VM_BIND. But Sashiko noticed a couple paths that were not handling this properly. Or at least that is how this series started out.
Rob Clark (17):
drm/msm: Fix barriers accessing ctx vm
drm/msm: Rework queuelock
drm/msm: Synchronize VM creation on ctxlock drm/msm: Synchronize set_sysprof on ctxlock drm/msm: Move nr_cmds initialization
drm/msm: Remove redundant SIZE_MAX check drm/msm/a6xx: Access VM directly in submit path drm/msm: Add helper to check for per-process pgtables VM drm/msm/gem: Fix dma_buf import error paths drm/msm/gem: Remove useless locking in GEM import drm/msm/gem: Extract bookkeeping init helper drm/msm/gem: Set resv before exposing obj drm/msm/gem: Validate lazy VM in GEM_NEW drm/msm: Allow lazy VM creation to fail drm/msm: Don't fallback to shared VM for VM_BIND drm/msm: Fix per-process-pgtables check drm/msm: Fixup invalid overflow check
drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 +- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 2 +- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 17 ++++- drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c | 2 +- drivers/gpu/drm/msm/msm_drv.c | 26 ++++--- drivers/gpu/drm/msm/msm_fb.c | 4 +- drivers/gpu/drm/msm/msm_gem.c | 94 ++++++++++++++---------- drivers/gpu/drm/msm/msm_gem.h | 5 +- drivers/gpu/drm/msm/msm_gem_prime.c | 2 +- drivers/gpu/drm/msm/msm_gem_submit.c | 31 ++++---- drivers/gpu/drm/msm/msm_gem_vma.c | 12 ++- drivers/gpu/drm/msm/msm_gpu.c | 2 +- drivers/gpu/drm/msm/msm_gpu.h | 4 +- drivers/gpu/drm/msm/msm_submitqueue.c | 24 +++--- 14 files changed, 131 insertions(+), 96 deletions(-)
Signature · 1 line
2.55.0