Skip to content
Snippets Groups Projects
Commit 2606f291 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/mmu: support initialisation of client-managed address-spaces


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: default avatarBen Skeggs <bskeggs@redhat.com>
parent ae5ea7f6
No related branches found
No related tags found
No related merge requests found
Showing
with 167 additions and 110 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment