mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 12:14:43 +07:00
6b8f7e3dee
Only select HMM_MIRROR will get kernel config dependency warnings if CONFIG_HMM is missing in the config. Add depends on HMM will solve the issue. Add conditional compilation to fix compilation errors if HMM_MIRROR is not enabled as HMM config is not enabled. Remove unused function amdgpu_ttm_tt_mark_user_pages. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
config DRM_AMDGPU_SI
|
|
bool "Enable amdgpu support for SI parts"
|
|
depends on DRM_AMDGPU
|
|
help
|
|
Choose this option if you want to enable experimental support
|
|
for SI asics.
|
|
|
|
SI is already supported in radeon. Experimental support for SI
|
|
in amdgpu will be disabled by default and is still provided by
|
|
radeon. Use module options to override this:
|
|
|
|
radeon.si_support=0 amdgpu.si_support=1
|
|
|
|
config DRM_AMDGPU_CIK
|
|
bool "Enable amdgpu support for CIK parts"
|
|
depends on DRM_AMDGPU
|
|
help
|
|
Choose this option if you want to enable support for CIK asics.
|
|
|
|
CIK is already supported in radeon. Support for CIK in amdgpu
|
|
will be disabled by default and is still provided by radeon.
|
|
Use module options to override this:
|
|
|
|
radeon.cik_support=0 amdgpu.cik_support=1
|
|
|
|
config DRM_AMDGPU_USERPTR
|
|
bool "Always enable userptr write support"
|
|
depends on DRM_AMDGPU
|
|
depends on ARCH_HAS_HMM
|
|
select HMM_MIRROR
|
|
help
|
|
This option selects CONFIG_HMM and CONFIG_HMM_MIRROR if it
|
|
isn't already selected to enabled full userptr support.
|
|
|
|
config DRM_AMDGPU_GART_DEBUGFS
|
|
bool "Allow GART access through debugfs"
|
|
depends on DRM_AMDGPU
|
|
depends on DEBUG_FS
|
|
default n
|
|
help
|
|
Selecting this option creates a debugfs file to inspect the mapped
|
|
pages. Uses more memory for housekeeping, enable only for debugging.
|
|
|
|
source "drivers/gpu/drm/amd/acp/Kconfig"
|
|
source "drivers/gpu/drm/amd/display/Kconfig"
|
|
source "drivers/gpu/drm/amd/amdkfd/Kconfig"
|