xref: /linux/drivers/gpu/drm/radeon/Kconfig (revision f9c7818c9d653e40dbd3c7e9c857e5b00dfca622)
1# SPDX-License-Identifier: MIT
2
3config DRM_RADEON
4	tristate "ATI Radeon"
5	depends on AGP || !AGP
6	depends on DRM
7	depends on DRM_DISPLAY_DP_HELPER
8	depends on DRM_DISPLAY_HELPER
9	depends on PCI
10	depends on MMU
11	select FW_LOADER
12        select DRM_KMS_HELPER
13	select DRM_SUBALLOC_HELPER
14        select DRM_TTM
15	select DRM_TTM_HELPER
16	select FB_IOMEM_HELPERS if DRM_FBDEV_EMULATION
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