diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-10-19 05:57:34 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-12-03 00:06:54 -0500 |
commit | a6a1a38075661bec189f2bad7912f8861e6ce357 (patch) | |
tree | 0c58a39eb33012c32f0ebb86079bf5c3d6b6fa90 /drivers/gpu/drm/nouveau/nv20_graph.c | |
parent | 50536946faaf3d9ac0245838eb09e5eb1065b06c (diff) |
drm/nouveau: use object class structs more extensively
The structs themselves, as well as the non-sw object creation function are
probably very misnamed now. That's a problem for later :)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv20_graph.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv20_graph.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nv20_graph.c b/drivers/gpu/drm/nouveau/nv20_graph.c index 109418d72f93..872f8d059694 100644 --- a/drivers/gpu/drm/nouveau/nv20_graph.c +++ b/drivers/gpu/drm/nouveau/nv20_graph.c | |||
@@ -757,6 +757,7 @@ nv30_graph_init(struct drm_device *dev) | |||
757 | } | 757 | } |
758 | 758 | ||
759 | struct nouveau_pgraph_object_class nv20_graph_grclass[] = { | 759 | struct nouveau_pgraph_object_class nv20_graph_grclass[] = { |
760 | { 0x506e, NVOBJ_ENGINE_SW, NULL }, /* nvsw */ | ||
760 | { 0x0030, NVOBJ_ENGINE_GR, NULL }, /* null */ | 761 | { 0x0030, NVOBJ_ENGINE_GR, NULL }, /* null */ |
761 | { 0x0039, NVOBJ_ENGINE_GR, NULL }, /* m2mf */ | 762 | { 0x0039, NVOBJ_ENGINE_GR, NULL }, /* m2mf */ |
762 | { 0x004a, NVOBJ_ENGINE_GR, NULL }, /* gdirect */ | 763 | { 0x004a, NVOBJ_ENGINE_GR, NULL }, /* gdirect */ |
@@ -777,6 +778,7 @@ struct nouveau_pgraph_object_class nv20_graph_grclass[] = { | |||
777 | }; | 778 | }; |
778 | 779 | ||
779 | struct nouveau_pgraph_object_class nv30_graph_grclass[] = { | 780 | struct nouveau_pgraph_object_class nv30_graph_grclass[] = { |
781 | { 0x506e, NVOBJ_ENGINE_SW, NULL }, /* nvsw */ | ||
780 | { 0x0030, NVOBJ_ENGINE_GR, NULL }, /* null */ | 782 | { 0x0030, NVOBJ_ENGINE_GR, NULL }, /* null */ |
781 | { 0x0039, NVOBJ_ENGINE_GR, NULL }, /* m2mf */ | 783 | { 0x0039, NVOBJ_ENGINE_GR, NULL }, /* m2mf */ |
782 | { 0x004a, NVOBJ_ENGINE_GR, NULL }, /* gdirect */ | 784 | { 0x004a, NVOBJ_ENGINE_GR, NULL }, /* gdirect */ |