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