xref: /linux/drivers/gpu/drm/radeon/Kconfig (revision 7f71507851fc7764b36a3221839607d3a45c2025)
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 SND_HDA_COMPONENT if SND_HDA_CORE
17	select POWER_SUPPLY
18	select HWMON
19	select BACKLIGHT_CLASS_DEVICE
20	select INTERVAL_TREE
21	select I2C
22	select I2C_ALGOBIT
23	# radeon depends on ACPI_VIDEO when ACPI is enabled, for select to work
24	# ACPI_VIDEO's dependencies must also be selected.
25	select INPUT if ACPI
26	select ACPI_VIDEO if ACPI
27	# On x86 ACPI_VIDEO also needs ACPI_WMI
28	select X86_PLATFORM_DEVICES if ACPI && X86
29	select ACPI_WMI if ACPI && X86
30	help
31	  Choose this option if you have an ATI Radeon graphics card.  There
32	  are both PCI and AGP versions.  You don't need to choose this to
33	  run the Radeon in plain VGA mode.
34
35	  If M is selected, the module will be called radeon.
36
37config DRM_RADEON_USERPTR
38	bool "Always enable userptr support"
39	depends on DRM_RADEON
40	select MMU_NOTIFIER
41	help
42	  This option selects CONFIG_MMU_NOTIFIER if it isn't already
43	  selected to enabled full userptr support.
44