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