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