]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/msm: Reject MAP_NULL op if no PRR
authorRob Clark <robin.clark@oss.qualcomm.com>
Wed, 22 Oct 2025 22:20:51 +0000 (15:20 -0700)
committerRob Clark <robin.clark@oss.qualcomm.com>
Sat, 25 Oct 2025 17:01:03 +0000 (10:01 -0700)
commit73b7e48a87c79fd6df40aeafcd3994287e31e25f
treeba817bce366713f19673590e7350af779a600180
parent7f9335f2d99815199d9d8d8e6687e68989728ce3
drm/msm: Reject MAP_NULL op if no PRR

We need PRR support in order to implement MAP_NULL.  Userspace shouldn't
be trying to use this if it is unsupported.

Reported-by: Valentine Burley <valentine.burley@collabora.com>
Link: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37935#note_3153730
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Tested-by: Valentine Burley <valentine.burley@collabora.com>
Patchwork: https://patchwork.freedesktop.org/patch/682941/
Message-ID: <20251022222051.10030-1-robin.clark@oss.qualcomm.com>
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/msm_gem_vma.c
drivers/gpu/drm/msm/msm_gpu.h