xref: /linux/drivers/gpu/drm/amd/amdgpu/Kconfig (revision 67f49869106f78882a8a09b736d4884be85aba18)
1# SPDX-License-Identifier: MIT
2
3config DRM_AMDGPU
4	tristate "AMD GPU"
5	depends on DRM && PCI && MMU
6	select FW_LOADER
7	select DRM_DISPLAY_DP_HELPER
8	select DRM_DISPLAY_HDMI_HELPER
9	select DRM_DISPLAY_HELPER
10	select DRM_KMS_HELPER
11	select DRM_SCHED
12	select DRM_TTM
13	select DRM_TTM_HELPER
14	select POWER_SUPPLY
15	select HWMON
16	select BACKLIGHT_CLASS_DEVICE
17	select INTERVAL_TREE
18	select DRM_BUDDY
19	# amdgpu depends on ACPI_VIDEO when ACPI is enabled, for select to work
20	# ACPI_VIDEO's dependencies must also be selected.
21	select INPUT if ACPI
22	select ACPI_VIDEO if ACPI
23	# On x86 ACPI_VIDEO also needs ACPI_WMI
24	select X86_PLATFORM_DEVICES if ACPI && X86
25	select ACPI_WMI if ACPI && X86
26	help
27	  Choose this option if you have a recent AMD Radeon graphics card.
28
29	  If M is selected, the module will be called amdgpu.
30
31config DRM_AMDGPU_SI
32	bool "Enable amdgpu support for SI parts"
33	depends on DRM_AMDGPU
34	help
35	  Choose this option if you want to enable experimental support
36	  for SI (Southern Islands) asics.
37
38	  SI is already supported in radeon. Experimental support for SI
39	  in amdgpu will be disabled by default and is still provided by
40	  radeon. Use module options to override this:
41
42	  radeon.si_support=0 amdgpu.si_support=1
43
44config DRM_AMDGPU_CIK
45	bool "Enable amdgpu support for CIK parts"
46	depends on DRM_AMDGPU
47	help
48	  Choose this option if you want to enable support for CIK (Sea
49	  Islands) asics.
50
51	  CIK is already supported in radeon. Support for CIK in amdgpu
52	  will be disabled by default and is still provided by radeon.
53	  Use module options to override this:
54
55	  radeon.cik_support=0 amdgpu.cik_support=1
56
57config DRM_AMDGPU_USERPTR
58	bool "Always enable userptr write support"
59	depends on DRM_AMDGPU
60	depends on MMU
61	select HMM_MIRROR
62	select MMU_NOTIFIER
63	help
64	  This option selects CONFIG_HMM and CONFIG_HMM_MIRROR if it
65	  isn't already selected to enabled full userptr support.
66
67source "drivers/gpu/drm/amd/acp/Kconfig"
68source "drivers/gpu/drm/amd/display/Kconfig"
69source "drivers/gpu/drm/amd/amdkfd/Kconfig"
70