summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/include
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-06-09 16:08:22 +1000
committerBen Skeggs <bskeggs@redhat.com>2013-07-05 13:42:32 +1000
commit30f4e0870d1726f31aa59804337cfd5e0a3f2ec7 (patch)
treee97f23f4a73e4bf53a0ab06efb19e012f384e5a2 /drivers/gpu/drm/nouveau/core/include
parent791dc143ed2c441f5202d8721609d94dce9fcf88 (diff)
downloadop-kernel-dev-30f4e0870d1726f31aa59804337cfd5e0a3f2ec7.zip
op-kernel-dev-30f4e0870d1726f31aa59804337cfd5e0a3f2ec7.tar.gz
drm/nvc0-/gr: make register lists from initvals functions
Generated context verified to be the same for all supported chipsets. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/include')
-rw-r--r--drivers/gpu/drm/nouveau/core/include/engine/graph.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/core/include/engine/graph.h b/drivers/gpu/drm/nouveau/core/include/engine/graph.h
index 5d39243..4f5c624 100644
--- a/drivers/gpu/drm/nouveau/core/include/engine/graph.h
+++ b/drivers/gpu/drm/nouveau/core/include/engine/graph.h
@@ -61,8 +61,13 @@ extern struct nouveau_oclass nv34_graph_oclass;
extern struct nouveau_oclass nv35_graph_oclass;
extern struct nouveau_oclass nv40_graph_oclass;
extern struct nouveau_oclass nv50_graph_oclass;
-extern struct nouveau_oclass nvc0_graph_oclass;
-extern struct nouveau_oclass nve0_graph_oclass;
+extern struct nouveau_oclass *nvc0_graph_oclass;
+extern struct nouveau_oclass *nvc1_graph_oclass;
+extern struct nouveau_oclass *nvc3_graph_oclass;
+extern struct nouveau_oclass *nvc8_graph_oclass;
+extern struct nouveau_oclass *nvd9_graph_oclass;
+extern struct nouveau_oclass *nve4_graph_oclass;
+extern struct nouveau_oclass *nvf0_graph_oclass;
extern const struct nouveau_bitfield nv04_graph_nsource[];
extern struct nouveau_ofuncs nv04_graph_ofuncs;
OpenPOWER on IntegriCloud