aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig2019-08-06 19:05:52 +0300
committerJason Gunthorpe2019-08-07 14:58:06 -0300
commit9c240a7bb33787d4fed56508425ae0b2936b1674 (patch)
treedf15ec6d19cab336c92176b6aaccf478c1722133 /drivers/gpu/drm/nouveau/Kconfig
parentf442c283efe4bda53c8e52b230159d020ea11c8e (diff)
mm/hmm: make HMM_MIRROR an implicit option
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/Kconfig')
-rw-r--r--drivers/gpu/drm/nouveau/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/Kconfig b/drivers/gpu/drm/nouveau/Kconfig
index 96b9814e6d06..df4352c279ba 100644
--- a/drivers/gpu/drm/nouveau/Kconfig
+++ b/drivers/gpu/drm/nouveau/Kconfig
@@ -86,9 +86,11 @@ config DRM_NOUVEAU_SVM
bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support"
depends on DEVICE_PRIVATE
depends on DRM_NOUVEAU
- depends on HMM_MIRROR
+ depends on MMU
depends on STAGING
+ select HMM_MIRROR
select MIGRATE_VMA_HELPER
+ select MMU_NOTIFIER
default n
help
Say Y here if you want to enable experimental support for