mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 09:19:56 +07:00
9c240a7bb3
Make HMM_MIRROR an option that is selected by drivers wanting to use it instead of a user visible option as it is just a low-level implementation detail. Link: https://lore.kernel.org/r/20190806160554.14046-15-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
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 MMU
|
|
select HMM_MIRROR
|
|
select MMU_NOTIFIER
|
|
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"
|