drm/nouveau/kms/nv04-: no need for multiple nvsw objects
[linux-2.6-microblaze.git] / drivers / gpu / drm / nouveau / nouveau_drv.h
index 2a65197..ae76a58 100644 (file)
@@ -132,8 +132,10 @@ nouveau_cli(struct drm_file *fpriv)
 }
 
 #include <nvif/object.h>
+#include <nvif/parent.h>
 
 struct nouveau_drm {
+       struct nvif_parent parent;
        struct nouveau_cli master;
        struct nouveau_cli client;
        struct drm_device *dev;
@@ -184,7 +186,6 @@ struct nouveau_drm {
        struct nouveau_channel *channel;
        struct nvkm_gpuobj *notify;
        struct nouveau_fbdev *fbcon;
-       struct nvif_object nvsw;
        struct nvif_object ntfy;
 
        /* nv10-nv40 tiling regions */