162306a36Sopenharmony_ci# SPDX-License-Identifier: MIT
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciconfig DRM_RADEON
462306a36Sopenharmony_ci	tristate "ATI Radeon"
562306a36Sopenharmony_ci	depends on DRM && PCI && MMU
662306a36Sopenharmony_ci	depends on AGP || !AGP
762306a36Sopenharmony_ci	select FW_LOADER
862306a36Sopenharmony_ci	select DRM_DISPLAY_DP_HELPER
962306a36Sopenharmony_ci	select DRM_DISPLAY_HELPER
1062306a36Sopenharmony_ci        select DRM_KMS_HELPER
1162306a36Sopenharmony_ci	select DRM_SUBALLOC_HELPER
1262306a36Sopenharmony_ci        select DRM_TTM
1362306a36Sopenharmony_ci	select DRM_TTM_HELPER
1462306a36Sopenharmony_ci	select FB_IOMEM_HELPERS if DRM_FBDEV_EMULATION
1562306a36Sopenharmony_ci	select SND_HDA_COMPONENT if SND_HDA_CORE
1662306a36Sopenharmony_ci	select POWER_SUPPLY
1762306a36Sopenharmony_ci	select HWMON
1862306a36Sopenharmony_ci	select BACKLIGHT_CLASS_DEVICE
1962306a36Sopenharmony_ci	select INTERVAL_TREE
2062306a36Sopenharmony_ci	select I2C
2162306a36Sopenharmony_ci	select I2C_ALGOBIT
2262306a36Sopenharmony_ci	# radeon depends on ACPI_VIDEO when ACPI is enabled, for select to work
2362306a36Sopenharmony_ci	# ACPI_VIDEO's dependencies must also be selected.
2462306a36Sopenharmony_ci	select INPUT if ACPI
2562306a36Sopenharmony_ci	select ACPI_VIDEO if ACPI
2662306a36Sopenharmony_ci	# On x86 ACPI_VIDEO also needs ACPI_WMI
2762306a36Sopenharmony_ci	select X86_PLATFORM_DEVICES if ACPI && X86
2862306a36Sopenharmony_ci	select ACPI_WMI if ACPI && X86
2962306a36Sopenharmony_ci	help
3062306a36Sopenharmony_ci	  Choose this option if you have an ATI Radeon graphics card.  There
3162306a36Sopenharmony_ci	  are both PCI and AGP versions.  You don't need to choose this to
3262306a36Sopenharmony_ci	  run the Radeon in plain VGA mode.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci	  If M is selected, the module will be called radeon.
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ciconfig DRM_RADEON_USERPTR
3762306a36Sopenharmony_ci	bool "Always enable userptr support"
3862306a36Sopenharmony_ci	depends on DRM_RADEON
3962306a36Sopenharmony_ci	select MMU_NOTIFIER
4062306a36Sopenharmony_ci	help
4162306a36Sopenharmony_ci	  This option selects CONFIG_MMU_NOTIFIER if it isn't already
4262306a36Sopenharmony_ci	  selected to enabled full userptr support.
43