xref: /linux/drivers/gpu/drm/radeon/Kconfig (revision 254986e324add8a30d0019c6da59f81adc8b565f)
11f43b890SAlex Deucher# SPDX-License-Identifier: MIT
2cb20d650SAndrew Davis
3cb20d650SAndrew Davisconfig DRM_RADEON
4cb20d650SAndrew Davis	tristate "ATI Radeon"
5cb20d650SAndrew Davis	depends on DRM && PCI && MMU
6cb20d650SAndrew Davis	depends on AGP || !AGP
7cb20d650SAndrew Davis	select FW_LOADER
8cb20d650SAndrew Davis	select DRM_DISPLAY_DP_HELPER
9cb20d650SAndrew Davis	select DRM_DISPLAY_HELPER
10cb20d650SAndrew Davis        select DRM_KMS_HELPER
11*254986e3SMaarten Lankhorst	select DRM_SUBALLOC_HELPER
12cb20d650SAndrew Davis        select DRM_TTM
13cb20d650SAndrew Davis	select DRM_TTM_HELPER
14cb20d650SAndrew Davis	select SND_HDA_COMPONENT if SND_HDA_CORE
15cb20d650SAndrew Davis	select POWER_SUPPLY
16cb20d650SAndrew Davis	select HWMON
17cb20d650SAndrew Davis	select BACKLIGHT_CLASS_DEVICE
18cb20d650SAndrew Davis	select INTERVAL_TREE
19000458b5SUwe Kleine-König	select I2C
20000458b5SUwe Kleine-König	select I2C_ALGOBIT
21cb20d650SAndrew Davis	# radeon depends on ACPI_VIDEO when ACPI is enabled, for select to work
22cb20d650SAndrew Davis	# ACPI_VIDEO's dependencies must also be selected.
23cb20d650SAndrew Davis	select INPUT if ACPI
24cb20d650SAndrew Davis	select ACPI_VIDEO if ACPI
25cb20d650SAndrew Davis	# On x86 ACPI_VIDEO also needs ACPI_WMI
26cb20d650SAndrew Davis	select X86_PLATFORM_DEVICES if ACPI && X86
27cb20d650SAndrew Davis	select ACPI_WMI if ACPI && X86
28cb20d650SAndrew Davis	help
29cb20d650SAndrew Davis	  Choose this option if you have an ATI Radeon graphics card.  There
30cb20d650SAndrew Davis	  are both PCI and AGP versions.  You don't need to choose this to
31cb20d650SAndrew Davis	  run the Radeon in plain VGA mode.
32cb20d650SAndrew Davis
33cb20d650SAndrew Davis	  If M is selected, the module will be called radeon.
34cb20d650SAndrew Davis
35c6a1fc72SChristian Königconfig DRM_RADEON_USERPTR
36c6a1fc72SChristian König	bool "Always enable userptr support"
37c6a1fc72SChristian König	depends on DRM_RADEON
38c6a1fc72SChristian König	select MMU_NOTIFIER
39c6a1fc72SChristian König	help
40c6a1fc72SChristian König	  This option selects CONFIG_MMU_NOTIFIER if it isn't already
41c6a1fc72SChristian König	  selected to enabled full userptr support.
42