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