]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/msm: Disallow foreign mapping of _NO_SHARE
authorRob Clark <robin.clark@oss.qualcomm.com>
Tue, 24 Mar 2026 22:05:17 +0000 (15:05 -0700)
committerRob Clark <robin.clark@oss.qualcomm.com>
Tue, 31 Mar 2026 20:47:27 +0000 (13:47 -0700)
commitc07612365087c8873f3faa2a47642ffa73b12c54
tree1b07ff39e87d75cd854be2e9f6c98581345d29ff
parentcf50ccdb765b3a6f1cd8e75642b0439fea0263a5
drm/msm: Disallow foreign mapping of _NO_SHARE

This restriction applies to mapping of _NO_SHARE objs in the kms vm as
well as importing/exporting BOs.  Since the DPU has it's own VM, scanout
counts as "exporting" a BO from outside of it's host VM.

Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/713897/
Message-ID: <20260324220519.1221471-1-robin.clark@oss.qualcomm.com>
drivers/gpu/drm/msm/msm_gem_vma.c