hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/gpu/drm/amd/amdgpu/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
12 config DRM_AMDGPU_SI
23 bool "Enable amdgpu support for SI parts"
34 depends on DRM_AMDGPU
....@@ -26,10 +27,12 @@
2627 config DRM_AMDGPU_USERPTR
2728 bool "Always enable userptr write support"
2829 depends on DRM_AMDGPU
30
+ depends on MMU
31
+ select HMM_MIRROR
2932 select MMU_NOTIFIER
3033 help
31
- This option selects CONFIG_MMU_NOTIFIER if it isn't already
32
- selected to enabled full userptr support.
34
+ This option selects CONFIG_HMM and CONFIG_HMM_MIRROR if it
35
+ isn't already selected to enabled full userptr support.
3336
3437 config DRM_AMDGPU_GART_DEBUGFS
3538 bool "Allow GART access through debugfs"
....@@ -42,3 +45,4 @@
4245
4346 source "drivers/gpu/drm/amd/acp/Kconfig"
4447 source "drivers/gpu/drm/amd/display/Kconfig"
48
+source "drivers/gpu/drm/amd/amdkfd/Kconfig"