]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/msm: Fix VM_BIND UNMAP locking
authorRob Clark <robin.clark@oss.qualcomm.com>
Tue, 24 Mar 2026 22:05:18 +0000 (15:05 -0700)
committerRob Clark <robin.clark@oss.qualcomm.com>
Tue, 31 Mar 2026 20:47:28 +0000 (13:47 -0700)
commit85042c2cd970a6b0e686329387096fe19989ae62
tree68deab058cfd82cb616ace3a041b4f845ee0901d
parentc07612365087c8873f3faa2a47642ffa73b12c54
drm/msm: Fix VM_BIND UNMAP locking

Wrong argument meant that the objs involved in UNMAP ops were not always
getting locked.

Since _NO_SHARE objs share a common resv with the VM (which is always
locked) this would only show up with non-_NO_SHARE BOs.

Reported-by: Victoria Brekenfeld <victoria@system76.com>
Fixes: 2e6a8a1fe2b2 ("drm/msm: Add VM_BIND ioctl")
Closes: https://gitlab.freedesktop.org/drm/msm/-/issues/94
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/713898/
Message-ID: <20260324220519.1221471-2-robin.clark@oss.qualcomm.com>
drivers/gpu/drm/msm/msm_gem_vma.c