]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Add CONFIG_HSA_AMD_SVM
authorFelix Kuehling <Felix.Kuehling@amd.com>
Mon, 29 Mar 2021 22:49:12 +0000 (18:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Apr 2021 01:50:35 +0000 (21:50 -0400)
commit5e57ac2795a7d6246ac663d19d7886d4d4424a7e
tree7ebed7e4a926a030f93272d87e3532a376a78871
parent500dffe2799a6f7e70a9a1d052b826a205229182
drm/amdkfd: Add CONFIG_HSA_AMD_SVM

Control whether to build SVM support into amdgpu with a Kconfig option.
This makes it easier to disable it in production kernels if this new
feature causes problems in production environments.

Use "depends on" instead of "select" for DEVICE_PRIVATE, as is
recommended for visible options.

Reviewed-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/Kconfig
drivers/gpu/drm/amd/amdkfd/Makefile
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
drivers/gpu/drm/amd/amdkfd/kfd_migrate.h
drivers/gpu/drm/amd/amdkfd/kfd_svm.h