xref: /linux/drivers/gpu/drm/radeon/Kconfig (revision 2c1ed907520c50326b8f604907a8478b27881a2e)
1# SPDX-License-Identifier: MIT
2
3config DRM_RADEON
4	tristate "ATI Radeon"
5	depends on DRM && PCI && MMU
6	depends on AGP || !AGP
7	select FW_LOADER
8	select DRM_CLIENT_SELECTION
9	select DRM_DISPLAY_DP_HELPER
10	select DRM_DISPLAY_HELPER
11        select DRM_KMS_HELPER
12	select DRM_SUBALLOC_HELPER
13        select DRM_TTM
14	select DRM_TTM_HELPER
15	select FB_IOMEM_HELPERS if DRM_FBDEV_EMULATION
16	select DRM_EXEC
17	select SND_HDA_COMPONENT if SND_HDA_CORE
18	select POWER_SUPPLY
19	select HWMON
20	select BACKLIGHT_CLASS_DEVICE
21	select INTERVAL_TREE
22	select I2C
23	select I2C_ALGOBIT
24	# radeon depends on ACPI_VIDEO when ACPI is enabled, for select to work
25	# ACPI_VIDEO's dependencies must also be selected.
26	select INPUT if ACPI
27	select ACPI_VIDEO if ACPI
28	# On x86 ACPI_VIDEO also needs ACPI_WMI
29	select X86_PLATFORM_DEVICES if ACPI && X86
30	select ACPI_WMI if ACPI && X86
31	help
32	  Choose this option if you have an ATI Radeon graphics card.  There
33	  are both PCI and AGP versions.  You don't need to choose this to
34	  run the Radeon in plain VGA mode.
35
36	  If M is selected, the module will be called radeon.
37
38config DRM_RADEON_USERPTR
39	bool "Always enable userptr support"
40	depends on DRM_RADEON
41	select MMU_NOTIFIER
42	help
43	  This option selects CONFIG_MMU_NOTIFIER if it isn't already
44	  selected to enabled full userptr support.
45