1 # SPDX-License-Identifier: MIT
5 depends on DRM && PCI && MMU
9 select DRM_CLIENT_SELECTION
10 select DRM_DISPLAY_DP_HELPER
11 select DRM_DISPLAY_DSC_HELPER
12 select DRM_DISPLAY_HDMI_HELPER
13 select DRM_DISPLAY_HDCP_HELPER
14 select DRM_DISPLAY_HELPER
24 select BACKLIGHT_CLASS_DEVICE
27 select DRM_SUBALLOC_HELPER
29 # amdgpu depends on ACPI_VIDEO when ACPI is enabled, for select to work
30 # ACPI_VIDEO's dependencies must also be selected.
32 select ACPI_VIDEO if ACPI
33 # On x86 ACPI_VIDEO also needs ACPI_WMI
34 select X86_PLATFORM_DEVICES if ACPI && X86
35 select ACPI_WMI if ACPI && X86
37 Choose this option if you have a recent AMD Radeon graphics card.
39 If M is selected, the module will be called amdgpu.
42 bool "Enable amdgpu support for SI parts"
45 Choose this option if you want to enable experimental support
46 for SI (Southern Islands) asics.
48 SI is already supported in radeon. Experimental support for SI
49 in amdgpu will be disabled by default and is still provided by
50 radeon. Use module options to override this:
52 radeon.si_support=0 amdgpu.si_support=1
55 bool "Enable amdgpu support for CIK parts"
58 Choose this option if you want to enable support for CIK (Sea
61 CIK is already supported in radeon. Support for CIK in amdgpu
62 will be disabled by default and is still provided by radeon.
63 Use module options to override this:
65 radeon.cik_support=0 amdgpu.cik_support=1
67 config DRM_AMDGPU_USERPTR
68 bool "Always enable userptr write support"
74 This option selects CONFIG_HMM and CONFIG_HMM_MIRROR if it
75 isn't already selected to enabled full userptr support.
78 bool "Enable AMD Image Signal Processor IP support"
81 select PM_GENERIC_DOMAINS if PM
83 Choose this option to enable ISP IP support for AMD SOCs.
84 This adds the ISP (Image Signal Processor) IP driver and wires
85 it up into the amdgpu driver. It is required for cameras
86 on APUs which utilize mipi cameras.
88 config DRM_AMDGPU_WERROR
89 bool "Force the compiler to throw an error instead of a warning when compiling"
92 depends on !COMPILE_TEST
95 Add -Werror to the build flags for amdgpu.ko.
96 Only enable this if you are warning code for amdgpu.ko.
98 source "drivers/gpu/drm/amd/acp/Kconfig"
99 source "drivers/gpu/drm/amd/display/Kconfig"
100 source "drivers/gpu/drm/amd/amdkfd/Kconfig"