summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <robin.clark@oss.qualcomm.com>2025-07-05 07:52:41 -0700
committerRob Clark <robin.clark@oss.qualcomm.com>2025-07-05 09:59:12 -0700
commit98f11fd1cf92c32f988e3699d1148fb2e317dd29 (patch)
tree5d9b237b9db7635d4b2d0bb4d5f57a692152a396
parentee82e5a2c5155d06ef0b7ab4bac8cb4bb8a2893a (diff)
drm/msm: Take the ioctls away from the KMS-only driver
KMS-only drivers should only allocate dumb buffers. The driver custom ioctls are only meant for the usermode gpu driver (mesa), and not for general consumption, so they don't make sense for standalone KMS drivers. Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/662598/
-rw-r--r--drivers/gpu/drm/msm/msm_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c
index 4872559288c1..9dcc7a596a11 100644
--- a/drivers/gpu/drm/msm/msm_drv.c
+++ b/drivers/gpu/drm/msm/msm_drv.c
@@ -865,8 +865,6 @@ static const struct drm_driver msm_kms_driver = {
#endif
MSM_FBDEV_DRIVER_OPS,
.show_fdinfo = msm_show_fdinfo,
- .ioctls = msm_ioctls,
- .num_ioctls = ARRAY_SIZE(msm_ioctls),
.fops = &fops,
.name = "msm-kms",
.desc = "MSM Snapdragon DRM",