drivers/gpu/drm/amd/amdgpu/Kconfig

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/amdgpu/Kconfig

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/amd/amdgpu/Kconfig
Extension
[no extension]
Size
3671 bytes
Lines
125
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: MIT

config DRM_AMDGPU
	tristate "AMD GPU"
	depends on DRM && PCI
	select FW_LOADER
	select DRM_CLIENT
	select DRM_CLIENT_SELECTION
	select DRM_DISPLAY_DP_HELPER
	select DRM_DISPLAY_DSC_HELPER
	select DRM_DISPLAY_HDMI_HELPER
	select DRM_DISPLAY_HDCP_HELPER
	select DRM_DISPLAY_HELPER
	select DRM_KMS_HELPER
	select DRM_SCHED
	select DRM_TTM
	select DRM_TTM_HELPER
	select POWER_SUPPLY
	select HWMON
	select I2C
	select I2C_ALGOBIT
	select CRC16
	select BACKLIGHT_CLASS_DEVICE
	select INTERVAL_TREE
	select DRM_BUDDY
	select DRM_SUBALLOC_HELPER
	select DRM_EXEC
	select DRM_PANEL_BACKLIGHT_QUIRKS
	# amdgpu depends on ACPI_VIDEO when ACPI is enabled, for select to work
	# ACPI_VIDEO's dependencies must also be selected.
	select INPUT if ACPI
	select ACPI_VIDEO if ACPI
	# On x86 ACPI_VIDEO also needs ACPI_WMI
	select X86_PLATFORM_DEVICES if ACPI && X86
	select ACPI_WMI if ACPI && X86
	help
	  Choose this option if you have a recent AMD Radeon graphics card.

	  If M is selected, the module will be called amdgpu.

config DRM_AMDGPU_SI
	bool "Enable amdgpu support for SI parts"
	depends on DRM_AMDGPU
	help
	  Choose this option if you want to enable support
	  for SI (Southern Islands) asics.

	  SI (Southern Islands) are first generation GCN GPUs,
	  supported by both drivers: radeon (old) and amdgpu (new).
	  By default, SI dedicated GPUs are supported by amdgpu.

	  Use module options to override this:
	  To use radeon for SI,
	  radeon.si_support=1 amdgpu.si_support=0

config DRM_AMDGPU_CIK
	bool "Enable amdgpu support for CIK parts"
	depends on DRM_AMDGPU
	help
	  Choose this option if you want to enable support for CIK (Sea
	  Islands) asics.

	  CIK (Sea Islands) are second generation GCN GPUs,
	  supported by both drivers: radeon (old) and amdgpu (new).
	  By default,
	  CIK dedicated GPUs are supported by amdgpu
	  CIK APUs are supported by radeon

	  Use module options to override this:
	  To use amdgpu for CIK,

Annotation

Implementation Notes