xref: /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: MIT
2*4882a593Smuzhiyunconfig DRM_AMDGPU_SI
3*4882a593Smuzhiyun	bool "Enable amdgpu support for SI parts"
4*4882a593Smuzhiyun	depends on DRM_AMDGPU
5*4882a593Smuzhiyun	help
6*4882a593Smuzhiyun	  Choose this option if you want to enable experimental support
7*4882a593Smuzhiyun	  for SI asics.
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun	  SI is already supported in radeon. Experimental support for SI
10*4882a593Smuzhiyun	  in amdgpu will be disabled by default and is still provided by
11*4882a593Smuzhiyun	  radeon. Use module options to override this:
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun	  radeon.si_support=0 amdgpu.si_support=1
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunconfig DRM_AMDGPU_CIK
16*4882a593Smuzhiyun	bool "Enable amdgpu support for CIK parts"
17*4882a593Smuzhiyun	depends on DRM_AMDGPU
18*4882a593Smuzhiyun	help
19*4882a593Smuzhiyun	  Choose this option if you want to enable support for CIK asics.
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun	  CIK is already supported in radeon. Support for CIK in amdgpu
22*4882a593Smuzhiyun	  will be disabled by default and is still provided by radeon.
23*4882a593Smuzhiyun	  Use module options to override this:
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun	  radeon.cik_support=0 amdgpu.cik_support=1
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunconfig DRM_AMDGPU_USERPTR
28*4882a593Smuzhiyun	bool "Always enable userptr write support"
29*4882a593Smuzhiyun	depends on DRM_AMDGPU
30*4882a593Smuzhiyun	depends on MMU
31*4882a593Smuzhiyun	select HMM_MIRROR
32*4882a593Smuzhiyun	select MMU_NOTIFIER
33*4882a593Smuzhiyun	help
34*4882a593Smuzhiyun	  This option selects CONFIG_HMM and CONFIG_HMM_MIRROR if it
35*4882a593Smuzhiyun	  isn't already selected to enabled full userptr support.
36*4882a593Smuzhiyun
37*4882a593Smuzhiyunconfig DRM_AMDGPU_GART_DEBUGFS
38*4882a593Smuzhiyun	bool "Allow GART access through debugfs"
39*4882a593Smuzhiyun	depends on DRM_AMDGPU
40*4882a593Smuzhiyun	depends on DEBUG_FS
41*4882a593Smuzhiyun	default n
42*4882a593Smuzhiyun	help
43*4882a593Smuzhiyun	  Selecting this option creates a debugfs file to inspect the mapped
44*4882a593Smuzhiyun	  pages. Uses more memory for housekeeping, enable only for debugging.
45*4882a593Smuzhiyun
46*4882a593Smuzhiyunsource "drivers/gpu/drm/amd/acp/Kconfig"
47*4882a593Smuzhiyunsource "drivers/gpu/drm/amd/display/Kconfig"
48*4882a593Smuzhiyunsource "drivers/gpu/drm/amd/amdkfd/Kconfig"
49