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