From: Rob Clark Date: Sat, 5 Jul 2025 14:52:41 +0000 (-0700) Subject: drm/msm: Take the ioctls away from the KMS-only driver X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98f11fd1cf92c32f988e3699d1148fb2e317dd29;p=thirdparty%2Flinux.git 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 Reviewed-by: Dmitry Baryshkov Patchwork: https://patchwork.freedesktop.org/patch/662598/ --- diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index 4872559288c1d..9dcc7a596a11d 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",