]> Git Repo - linux.git/blob - drivers/gpu/drm/amd/amdgpu/Kconfig
Merge patch "Enable SPCR table for console output on RISC-V"
[linux.git] / drivers / gpu / drm / amd / amdgpu / Kconfig
1 # SPDX-License-Identifier: MIT
2
3 config DRM_AMDGPU
4         tristate "AMD GPU"
5         depends on DRM && PCI && MMU
6         depends on !UML
7         select FW_LOADER
8         select DRM_DISPLAY_DP_HELPER
9         select DRM_DISPLAY_HDMI_HELPER
10         select DRM_DISPLAY_HDCP_HELPER
11         select DRM_DISPLAY_HELPER
12         select DRM_KMS_HELPER
13         select DRM_SCHED
14         select DRM_TTM
15         select DRM_TTM_HELPER
16         select POWER_SUPPLY
17         select HWMON
18         select I2C
19         select I2C_ALGOBIT
20         select CRC16
21         select BACKLIGHT_CLASS_DEVICE
22         select INTERVAL_TREE
23         select DRM_BUDDY
24         select DRM_SUBALLOC_HELPER
25         select DRM_EXEC
26         # amdgpu depends on ACPI_VIDEO when ACPI is enabled, for select to work
27         # ACPI_VIDEO's dependencies must also be selected.
28         select INPUT if ACPI
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
33         help
34           Choose this option if you have a recent AMD Radeon graphics card.
35
36           If M is selected, the module will be called amdgpu.
37
38 config DRM_AMDGPU_SI
39         bool "Enable amdgpu support for SI parts"
40         depends on DRM_AMDGPU
41         help
42           Choose this option if you want to enable experimental support
43           for SI (Southern Islands) asics.
44
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:
48
49           radeon.si_support=0 amdgpu.si_support=1
50
51 config DRM_AMDGPU_CIK
52         bool "Enable amdgpu support for CIK parts"
53         depends on DRM_AMDGPU
54         help
55           Choose this option if you want to enable support for CIK (Sea
56           Islands) asics.
57
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:
61
62           radeon.cik_support=0 amdgpu.cik_support=1
63
64 config DRM_AMDGPU_USERPTR
65         bool "Always enable userptr write support"
66         depends on DRM_AMDGPU
67         depends on MMU
68         select HMM_MIRROR
69         select MMU_NOTIFIER
70         help
71           This option selects CONFIG_HMM and CONFIG_HMM_MIRROR if it
72           isn't already selected to enabled full userptr support.
73
74 config DRM_AMD_ISP
75         bool "Enable AMD Image Signal Processor IP support"
76         depends on DRM_AMDGPU
77         select MFD_CORE
78         select PM_GENERIC_DOMAINS if PM
79         help
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.
84
85 config DRM_AMDGPU_WERROR
86         bool "Force the compiler to throw an error instead of a warning when compiling"
87         depends on DRM_AMDGPU
88         depends on EXPERT
89         depends on !COMPILE_TEST
90         default n
91         help
92           Add -Werror to the build flags for amdgpu.ko.
93           Only enable this if you are warning code for amdgpu.ko.
94
95 source "drivers/gpu/drm/amd/acp/Kconfig"
96 source "drivers/gpu/drm/amd/display/Kconfig"
97 source "drivers/gpu/drm/amd/amdkfd/Kconfig"
This page took 0.037018 seconds and 4 git commands to generate.