xref: /openbmc/linux/drivers/gpu/drm/amd/amdgpu/Kconfig (revision 51bc620b)
1# SPDX-License-Identifier: GPL-2.0-only
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 HMM_MIRROR
31	help
32	  This option selects CONFIG_HMM and CONFIG_HMM_MIRROR if it
33	  isn't already selected to enabled full userptr support.
34
35config DRM_AMDGPU_GART_DEBUGFS
36	bool "Allow GART access through debugfs"
37	depends on DRM_AMDGPU
38	depends on DEBUG_FS
39	default n
40	help
41	  Selecting this option creates a debugfs file to inspect the mapped
42	  pages. Uses more memory for housekeeping, enable only for debugging.
43
44source "drivers/gpu/drm/amd/acp/Kconfig"
45source "drivers/gpu/drm/amd/display/Kconfig"
46source "drivers/gpu/drm/amd/amdkfd/Kconfig"
47