summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Glisse <jglisse@redhat.com>2017-08-10 20:46:38 -0400
committerJérôme Glisse <jglisse@redhat.com>2017-09-05 14:52:36 -0400
commit724a59351518914c0b2616a49bf9f4c3a297cf8f (patch)
tree10793ec05c88343f96a57c23090d871c945e996d
parent68ab8cfe40ac357acc200fa927b8d92708deb447 (diff)
drm/nouveau/compote: allow to have nvkm_vma not bind to nouveau_bo
Hackish close your eyes and cover your ears. Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
-rw-r--r--drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h b/drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h
index 40022c496087..67a7e6641d8c 100644
--- a/drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h
+++ b/drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h
@@ -18,6 +18,10 @@ struct nvkm_vma {
u64 offset;
u64 skip;
u32 access;
+
+ struct mutex mutex;
+ unsigned long *pfns;
+ dma_addr_t *dmas;
};
struct nvkm_vm {