.. | .. |
---|
| 1 | +# SPDX-License-Identifier: MIT |
---|
1 | 2 | config DRM_AMDGPU_SI |
---|
2 | 3 | bool "Enable amdgpu support for SI parts" |
---|
3 | 4 | depends on DRM_AMDGPU |
---|
.. | .. |
---|
26 | 27 | config DRM_AMDGPU_USERPTR |
---|
27 | 28 | bool "Always enable userptr write support" |
---|
28 | 29 | depends on DRM_AMDGPU |
---|
| 30 | + depends on MMU |
---|
| 31 | + select HMM_MIRROR |
---|
29 | 32 | select MMU_NOTIFIER |
---|
30 | 33 | 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. |
---|
33 | 36 | |
---|
34 | 37 | config DRM_AMDGPU_GART_DEBUGFS |
---|
35 | 38 | bool "Allow GART access through debugfs" |
---|
.. | .. |
---|
42 | 45 | |
---|
43 | 46 | source "drivers/gpu/drm/amd/acp/Kconfig" |
---|
44 | 47 | source "drivers/gpu/drm/amd/display/Kconfig" |
---|
| 48 | +source "drivers/gpu/drm/amd/amdkfd/Kconfig" |
---|