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