drm/nouveau/svm: initial support for shared virtual memory
[linux-2.6-microblaze.git] / drivers / gpu / drm / nouveau / nouveau_drv.h
index d20b9ba..1326b42 100644 (file)
@@ -96,6 +96,7 @@ struct nouveau_cli {
        struct nvif_device device;
        struct nvif_mmu mmu;
        struct nouveau_vmm vmm;
+       struct nouveau_vmm svm;
        const struct nvif_mclass *mem;
 
        struct list_head head;
@@ -181,7 +182,6 @@ struct nouveau_drm {
        struct nouveau_fbdev *fbcon;
        struct nvif_object nvsw;
        struct nvif_object ntfy;
-       struct nvif_notify flip;
 
        /* nv10-nv40 tiling regions */
        struct {
@@ -210,6 +210,8 @@ struct nouveau_drm {
        bool have_disp_power_ref;
 
        struct dev_pm_domain vga_pm_domain;
+
+       struct nouveau_svm *svm;
 };
 
 static inline struct nouveau_drm *