diff options
| -rw-r--r-- | drivers/gpu/drm/nouveau/Kconfig | 2 | ||||
| -rw-r--r-- | mm/Kconfig | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/Kconfig b/drivers/gpu/drm/nouveau/Kconfig index dba2613f7180..6303d203ab1d 100644 --- a/drivers/gpu/drm/nouveau/Kconfig +++ b/drivers/gpu/drm/nouveau/Kconfig | |||
| @@ -85,10 +85,10 @@ config DRM_NOUVEAU_BACKLIGHT | |||
| 85 | config DRM_NOUVEAU_SVM | 85 | config DRM_NOUVEAU_SVM |
| 86 | bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support" | 86 | bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support" |
| 87 | depends on ARCH_HAS_HMM | 87 | depends on ARCH_HAS_HMM |
| 88 | depends on DEVICE_PRIVATE | ||
| 88 | depends on DRM_NOUVEAU | 89 | depends on DRM_NOUVEAU |
| 89 | depends on STAGING | 90 | depends on STAGING |
| 90 | select HMM_MIRROR | 91 | select HMM_MIRROR |
| 91 | select DEVICE_PRIVATE | ||
| 92 | default n | 92 | default n |
| 93 | help | 93 | help |
| 94 | Say Y here if you want to enable experimental support for | 94 | Say Y here if you want to enable experimental support for |
diff --git a/mm/Kconfig b/mm/Kconfig index 6f35b85b3052..eecf037a54b3 100644 --- a/mm/Kconfig +++ b/mm/Kconfig | |||
| @@ -677,13 +677,13 @@ config ARCH_HAS_HMM_MIRROR | |||
| 677 | 677 | ||
| 678 | config ARCH_HAS_HMM | 678 | config ARCH_HAS_HMM |
| 679 | bool | 679 | bool |
| 680 | default y | ||
| 681 | depends on (X86_64 || PPC64) | 680 | depends on (X86_64 || PPC64) |
| 682 | depends on ZONE_DEVICE | 681 | depends on ZONE_DEVICE |
| 683 | depends on MMU && 64BIT | 682 | depends on MMU && 64BIT |
| 684 | depends on MEMORY_HOTPLUG | 683 | depends on MEMORY_HOTPLUG |
| 685 | depends on MEMORY_HOTREMOVE | 684 | depends on MEMORY_HOTREMOVE |
| 686 | depends on SPARSEMEM_VMEMMAP | 685 | depends on SPARSEMEM_VMEMMAP |
| 686 | default y | ||
| 687 | 687 | ||
| 688 | config MIGRATE_VMA_HELPER | 688 | config MIGRATE_VMA_HELPER |
| 689 | bool | 689 | bool |
| @@ -709,8 +709,7 @@ config HMM_MIRROR | |||
| 709 | 709 | ||
| 710 | config DEVICE_PRIVATE | 710 | config DEVICE_PRIVATE |
| 711 | bool "Unaddressable device memory (GPU memory, ...)" | 711 | bool "Unaddressable device memory (GPU memory, ...)" |
| 712 | depends on ARCH_HAS_HMM | 712 | depends on ZONE_DEVICE |
| 713 | select HMM | ||
| 714 | select DEV_PAGEMAP_OPS | 713 | select DEV_PAGEMAP_OPS |
| 715 | 714 | ||
| 716 | help | 715 | help |
