drm/nouveau/mmu: add a privileged method to directly manage PTEs
authorBen Skeggs <bskeggs@redhat.com>
Sat, 7 Jul 2018 02:35:48 +0000 (12:35 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 19 Feb 2019 23:00:00 +0000 (09:00 +1000)
commita5ff307fe1f2dfe91253e3c19586643a77b6ce52
treeca79c2065914a832ee99f576b01f033cd83ed183
parent8e68271d7ce472ff75af8cf4988edf1c797253a5
drm/nouveau/mmu: add a privileged method to directly manage PTEs

This provides a somewhat more direct method of manipulating the GPU page
tables, which will be required to support SVM.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvif/if000c.h
drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c