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