summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c
Commit message (Collapse)AuthorAgeFilesLines
* drm/nouveau/mmu: support initialisation of client-managed address-spacesBen Skeggs2019-02-201-3/+3
| | | | | | | | | | | | | | | | NVKM is currently responsible for managing the allocation of a client's GPU address-space, but there's various use-cases (ie. HMM address-space mirroring) where giving a client more direct control is desirable. This commit allows for a VMM to be created where the area allocated for NVKM is limited to a client-specified window, the remainder of address- space is controlled directly by the client. Leaving a window is necessary to support various internal requirements, but also to support existing allocation interfaces as not all of the HW is capable of working with a HMM allocation. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau/mmu/mcp77: fix regressions in stolen memory handlingBen Skeggs2018-01-191-8/+8
| | | | | | | | - Fixes addition of stolen memory base address to PTEs. - Removes support for compression. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Tested-by: Pierre Moreau <pierre.morrow@free.fr>
* drm/nouveau/mmu/nv50,g84: implement new vmm backendBen Skeggs2017-11-021-1/+292
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm/nouveau/mmu/nv50,g84: implement vmm on top of new baseBen Skeggs2017-11-021-0/+94
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>