Skip to content

Commit

Permalink
drm: Remove Kconfig option for legacy support (CONFIG_DRM_LEGACY)
Browse files Browse the repository at this point in the history
Remove CONFIG_DRM_LEGACY from Kconfig. Nothing depends on the option.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
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-15-tzimmermann@suse.de
  • Loading branch information
Thomas Zimmermann committed Dec 6, 2023
1 parent 87be41f commit 94f8f31
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions drivers/gpu/drm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -410,27 +410,6 @@ config DRM_HYPERV

If M is selected the module will be called hyperv_drm.

# Keep legacy drivers last

menuconfig DRM_LEGACY
bool "Enable legacy drivers (DANGEROUS)"
depends on DRM && MMU
help
Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous
APIs to user-space, which can be used to circumvent access
restrictions and other security measures. For backwards compatibility
those drivers are still available, but their use is highly
inadvisable and might harm your system.

You are recommended to use the safe modeset-only drivers instead, and
perform 3D emulation in user-space.

Unless you have strong reasons to go rogue, say "N".

if DRM_LEGACY
# leave here to list legacy drivers
endif # DRM_LEGACY

config DRM_EXPORT_FOR_TESTS
bool

Expand Down

0 comments on commit 94f8f31

Please sign in to comment.