[PATCH v4 0/6] drm/msm: A couple lazy-vm fixes

From: Rob Clark

Date: Wed Jul 08 2026 - 13:37:34 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 (6):
drm/msm: Fix barriers accessing ctx vm
drm/msm: Block VM_BIND for shared VMs
drm/msm: Validate lazy VM is created in GEM_SUBMIT
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/adreno_gpu.c | 2 +-
drivers/gpu/drm/msm/msm_drv.c | 13 +++++++------
drivers/gpu/drm/msm/msm_gem.c | 11 ++++++++++-
drivers/gpu/drm/msm/msm_gem_submit.c | 15 ++++++---------
drivers/gpu/drm/msm/msm_gem_vma.c | 11 ++++++-----
5 files changed, 30 insertions(+), 22 deletions(-)

--
2.55.0