1 # SPDX-License-Identifier: MIT
5 depends on DRM && PCI && MMU
8 select DRM_DISPLAY_DP_HELPER
9 select DRM_DISPLAY_HDMI_HELPER
10 select DRM_DISPLAY_HDCP_HELPER
11 select DRM_DISPLAY_HELPER
20 select BACKLIGHT_CLASS_DEVICE
23 select DRM_SUBALLOC_HELPER
25 # amdgpu depends on ACPI_VIDEO when ACPI is enabled, for select to work
26 # ACPI_VIDEO's dependencies must also be selected.
28 select ACPI_VIDEO if ACPI
29 # On x86 ACPI_VIDEO also needs ACPI_WMI
30 select X86_PLATFORM_DEVICES if ACPI && X86
31 select ACPI_WMI if ACPI && X86
33 Choose this option if you have a recent AMD Radeon graphics card.
35 If M is selected, the module will be called amdgpu.
38 bool "Enable amdgpu support for SI parts"
41 Choose this option if you want to enable experimental support
42 for SI (Southern Islands) asics.
44 SI is already supported in radeon. Experimental support for SI
45 in amdgpu will be disabled by default and is still provided by
46 radeon. Use module options to override this:
48 radeon.si_support=0 amdgpu.si_support=1
51 bool "Enable amdgpu support for CIK parts"
54 Choose this option if you want to enable support for CIK (Sea
57 CIK is already supported in radeon. Support for CIK in amdgpu
58 will be disabled by default and is still provided by radeon.
59 Use module options to override this:
61 radeon.cik_support=0 amdgpu.cik_support=1
63 config DRM_AMDGPU_USERPTR
64 bool "Always enable userptr write support"
70 This option selects CONFIG_HMM and CONFIG_HMM_MIRROR if it
71 isn't already selected to enabled full userptr support.
73 config DRM_AMDGPU_WERROR
74 bool "Force the compiler to throw an error instead of a warning when compiling"
77 depends on !COMPILE_TEST
80 Add -Werror to the build flags for amdgpu.ko.
81 Only enable this if you are warning code for amdgpu.ko.
83 source "drivers/gpu/drm/amd/acp/Kconfig"
84 source "drivers/gpu/drm/amd/display/Kconfig"
85 source "drivers/gpu/drm/amd/amdkfd/Kconfig"