[PATCH v5 00/10] drm/msm: A couple lazy-vm fixes

From: Rob Clark

Date: Thu Jul 16 2026 - 16:15:56 EST


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.

Rob Clark (10):
drm/msm: Fix barriers accessing ctx vm
drm/msm: Rework queuelock
drm/msm: Synchronize VM creation on ctxlock
drm/msm/a6xx: Access VM directly in submit path
drm/msm: Add helper to check for per-process pgtables VM
drm/msm: Allow lazy VM creation to fail
drm/msm: Don't fallback to shared VM for VM_BIND
drm/msm: Validate lazy VM in GEM_NEW
drm/msm: Fix per-process-pgtables check
drm/msm: Remove invalid overflow check

drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 2 +-
drivers/gpu/drm/msm/adreno/adreno_gpu.c | 17 ++++++++++++----
drivers/gpu/drm/msm/msm_drv.c | 26 ++++++++++++++++---------
drivers/gpu/drm/msm/msm_gem.c | 11 ++++++++++-
drivers/gpu/drm/msm/msm_gem_submit.c | 18 ++++++++---------
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 | 22 ++++++++++-----------
9 files changed, 71 insertions(+), 43 deletions(-)

--
2.55.0