Loading...
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"
1# SPDX-License-Identifier: MIT
2config DRM_AMDGPU_SI
3 bool "Enable amdgpu support for SI parts"
4 depends on DRM_AMDGPU
5 help
6 Choose this option if you want to enable experimental support
7 for SI asics.
8
9 SI is already supported in radeon. Experimental support for SI
10 in amdgpu will be disabled by default and is still provided by
11 radeon. Use module options to override this:
12
13 radeon.si_support=0 amdgpu.si_support=1
14
15config DRM_AMDGPU_CIK
16 bool "Enable amdgpu support for CIK parts"
17 depends on DRM_AMDGPU
18 help
19 Choose this option if you want to enable support for CIK asics.
20
21 CIK is already supported in radeon. Support for CIK in amdgpu
22 will be disabled by default and is still provided by radeon.
23 Use module options to override this:
24
25 radeon.cik_support=0 amdgpu.cik_support=1
26
27config DRM_AMDGPU_USERPTR
28 bool "Always enable userptr write support"
29 depends on DRM_AMDGPU
30 depends on MMU
31 select HMM_MIRROR
32 select MMU_NOTIFIER
33 help
34 This option selects CONFIG_HMM and CONFIG_HMM_MIRROR if it
35 isn't already selected to enabled full userptr support.
36
37source "drivers/gpu/drm/amd/acp/Kconfig"
38source "drivers/gpu/drm/amd/display/Kconfig"
39source "drivers/gpu/drm/amd/amdkfd/Kconfig"