]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm: Remove entry points for legacy ioctls
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 22 Nov 2023 12:09:37 +0000 (13:09 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 6 Dec 2023 09:08:21 +0000 (10:08 +0100)
commit184dcdc251420929bf195f99f0b9fb6960788b6d
tree81899b90a93656606d760de1587d6d5b618559d9
parentc45a1e0a2e9d3f6b37d27e636ba905678c84a41a
drm: Remove entry points for legacy ioctls

DRM drivers with user-space mode setting have been removed in Linux
v6.3. [1] Now remove the ioctl entry points for these drivers. Invoking
any of the ioctl ops will unconditionally return -EINVAL to user space.
This has already been the behavior for kernels without CONFIG_DRM_LEGACY
set.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/series/111602/
Reviewed-by: David Airlie <airlied@gmail.com>
Reviewed-by: Daniel Vetter <daniel@ffwll.ch>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231122122449.11588-9-tzimmermann@suse.de
drivers/gpu/drm/drm_ioc32.c
drivers/gpu/drm/drm_ioctl.c