xref: /linux/drivers/gpu/drm/amd/amdgpu/Kconfig (revision bd95c1445274c5e126ffd8998fbba9f3732a579e)
1*bd95c144SAlex Deucher# SPDX-License-Identifier: MIT
2a036db18SKen Wangconfig DRM_AMDGPU_SI
3a036db18SKen Wang	bool "Enable amdgpu support for SI parts"
4a036db18SKen Wang	depends on DRM_AMDGPU
5a036db18SKen Wang	help
6a036db18SKen Wang	  Choose this option if you want to enable experimental support
7a036db18SKen Wang	  for SI asics.
8a036db18SKen Wang
9ef789173SFelix Kuehling	  SI is already supported in radeon. Experimental support for SI
10ef789173SFelix Kuehling	  in amdgpu will be disabled by default and is still provided by
11ef789173SFelix Kuehling	  radeon. Use module options to override this:
12ef789173SFelix Kuehling
13ef789173SFelix Kuehling	  radeon.si_support=0 amdgpu.si_support=1
14ef789173SFelix Kuehling
15d38ceaf9SAlex Deucherconfig DRM_AMDGPU_CIK
16d38ceaf9SAlex Deucher	bool "Enable amdgpu support for CIK parts"
17d38ceaf9SAlex Deucher	depends on DRM_AMDGPU
18d38ceaf9SAlex Deucher	help
19ef789173SFelix Kuehling	  Choose this option if you want to enable support for CIK asics.
20d38ceaf9SAlex Deucher
212b059658SMichel Dänzer	  CIK is already supported in radeon. Support for CIK in amdgpu
222b059658SMichel Dänzer	  will be disabled by default and is still provided by radeon.
232b059658SMichel Dänzer	  Use module options to override this:
24ef789173SFelix Kuehling
252b059658SMichel Dänzer	  radeon.cik_support=0 amdgpu.cik_support=1
26d38ceaf9SAlex Deucher
27d38ceaf9SAlex Deucherconfig DRM_AMDGPU_USERPTR
28d38ceaf9SAlex Deucher	bool "Always enable userptr write support"
29d38ceaf9SAlex Deucher	depends on DRM_AMDGPU
309c240a7bSChristoph Hellwig	depends on MMU
319c240a7bSChristoph Hellwig	select HMM_MIRROR
329c240a7bSChristoph Hellwig	select MMU_NOTIFIER
33d38ceaf9SAlex Deucher	help
342c5a51f5SPhilip Yang	  This option selects CONFIG_HMM and CONFIG_HMM_MIRROR if it
352c5a51f5SPhilip Yang	  isn't already selected to enabled full userptr support.
36a1d29476SChristian König
37a1d29476SChristian Königconfig DRM_AMDGPU_GART_DEBUGFS
38a1d29476SChristian König	bool "Allow GART access through debugfs"
39a1d29476SChristian König	depends on DRM_AMDGPU
40a1d29476SChristian König	depends on DEBUG_FS
41a1d29476SChristian König	default n
42a1d29476SChristian König	help
43a1d29476SChristian König	  Selecting this option creates a debugfs file to inspect the mapped
44a1d29476SChristian König	  pages. Uses more memory for housekeeping, enable only for debugging.
45a1d29476SChristian König
46fdba11f4SAlex Deuchersource "drivers/gpu/drm/amd/acp/Kconfig"
474562236bSHarry Wentlandsource "drivers/gpu/drm/amd/display/Kconfig"
4804d5e276SAmber Linsource "drivers/gpu/drm/amd/amdkfd/Kconfig"
49