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
21 select BACKLIGHT_CLASS_DEVICE
24 select DRM_SUBALLOC_HELPER
26 # amdgpu depends on ACPI_VIDEO when ACPI is enabled, for select to work
27 # ACPI_VIDEO's dependencies must also be selected.
29 select ACPI_VIDEO if ACPI
30 # On x86 ACPI_VIDEO also needs ACPI_WMI
31 select X86_PLATFORM_DEVICES if ACPI && X86
32 select ACPI_WMI if ACPI && X86
34 Choose this option if you have a recent AMD Radeon graphics card.
36 If M is selected, the module will be called amdgpu.
39 bool "Enable amdgpu support for SI parts"
42 Choose this option if you want to enable experimental support
43 for SI (Southern Islands) asics.
45 SI is already supported in radeon. Experimental support for SI
46 in amdgpu will be disabled by default and is still provided by
47 radeon. Use module options to override this:
49 radeon.si_support=0 amdgpu.si_support=1
52 bool "Enable amdgpu support for CIK parts"
55 Choose this option if you want to enable support for CIK (Sea
58 CIK is already supported in radeon. Support for CIK in amdgpu
59 will be disabled by default and is still provided by radeon.
60 Use module options to override this:
62 radeon.cik_support=0 amdgpu.cik_support=1
64 config DRM_AMDGPU_USERPTR
65 bool "Always enable userptr write support"
71 This option selects CONFIG_HMM and CONFIG_HMM_MIRROR if it
72 isn't already selected to enabled full userptr support.
75 bool "Enable AMD Image Signal Processor IP support"
78 select PM_GENERIC_DOMAINS if PM
80 Choose this option to enable ISP IP support for AMD SOCs.
81 This adds the ISP (Image Signal Processor) IP driver and wires
82 it up into the amdgpu driver. It is required for cameras
83 on APUs which utilize mipi cameras.
85 config DRM_AMDGPU_WERROR
86 bool "Force the compiler to throw an error instead of a warning when compiling"
89 depends on !COMPILE_TEST
92 Add -Werror to the build flags for amdgpu.ko.
93 Only enable this if you are warning code for amdgpu.ko.
95 source "drivers/gpu/drm/amd/acp/Kconfig"
96 source "drivers/gpu/drm/amd/display/Kconfig"
97 source "drivers/gpu/drm/amd/amdkfd/Kconfig"