diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2017-10-31 18:56:19 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-11-02 04:32:32 +0100 |
commit | 01670a79d5fa2f6659d18af6d52cca6c44f73646 (patch) | |
tree | d6cc232a30747183758ab9dc35a474bba1a9dd95 /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | drm/nouveau: remove trivial cases of nvxx_device() usage (diff) | |
download | linux-01670a79d5fa2f6659d18af6d52cca6c44f73646.tar.xz linux-01670a79d5fa2f6659d18af6d52cca6c44f73646.zip |
drm/nouveau: allocate mmu object for every client
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index ba8a9ab20562..ac5c66e60b2a 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h @@ -42,6 +42,7 @@ #include <nvif/client.h> #include <nvif/device.h> #include <nvif/ioctl.h> +#include <nvif/mmu.h> #include <drm/drmP.h> @@ -91,6 +92,7 @@ struct nouveau_cli { struct mutex mutex; struct nvif_device device; + struct nvif_mmu mmu; struct nouveau_vmm vmm; struct nvkm_vm *vm; |