Skip to content

Commit b6b346a

Browse files
Christoph Hellwigjgunthorpe
authored andcommitted
mm: don't select MIGRATE_VMA_HELPER from HMM_MIRROR
The migrate_vma helper is only used by noveau to migrate device private pages around. Other HMM_MIRROR users like amdgpu or infiniband don't need it. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Dan Williams <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent 43535b0 commit b6b346a

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

drivers/gpu/drm/nouveau/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ config DRM_NOUVEAU_SVM
8888
depends on DRM_NOUVEAU
8989
depends on HMM_MIRROR
9090
depends on STAGING
91+
select MIGRATE_VMA_HELPER
9192
default n
9293
help
9394
Say Y here if you want to enable experimental support for

mm/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,6 @@ config HMM_MIRROR
680680
depends on (X86_64 || PPC64)
681681
depends on MMU && 64BIT
682682
select MMU_NOTIFIER
683-
select MIGRATE_VMA_HELPER
684683
help
685684
Select HMM_MIRROR if you want to mirror range of the CPU page table of a
686685
process into a device page table. Here, mirror means "keep synchronized".

0 commit comments

Comments
 (0)