aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nv10_graph.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-10-19 05:47:06 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-12-03 00:06:52 -0500
commit50536946faaf3d9ac0245838eb09e5eb1065b06c (patch)
tree7daaa4cb7e2f9f26f4f9ac4ee37cfa9ab57f7777 /drivers/gpu/drm/nouveau/nv10_graph.c
parent9100468d1be26063aa25ecd667ea922c101d203f (diff)
drm/nouveau: store engine type in gpuobj class structs
We will eventually want to address hw engines other than PGRAPH. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv10_graph.c')
-rw-r--r--drivers/gpu/drm/nouveau/nv10_graph.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/drivers/gpu/drm/nouveau/nv10_graph.c b/drivers/gpu/drm/nouveau/nv10_graph.c
index e3a87a64c164..375d63161d12 100644
--- a/drivers/gpu/drm/nouveau/nv10_graph.c
+++ b/drivers/gpu/drm/nouveau/nv10_graph.c
@@ -1075,25 +1075,25 @@ static struct nouveau_pgraph_object_method nv17_graph_celsius_mthds[] = {
1075}; 1075};
1076 1076
1077struct nouveau_pgraph_object_class nv10_graph_grclass[] = { 1077struct nouveau_pgraph_object_class nv10_graph_grclass[] = {
1078 { 0x0030, false, NULL }, /* null */ 1078 { 0x0030, NVOBJ_ENGINE_GR, NULL }, /* null */
1079 { 0x0039, false, NULL }, /* m2mf */ 1079 { 0x0039, NVOBJ_ENGINE_GR, NULL }, /* m2mf */
1080 { 0x004a, false, NULL }, /* gdirect */ 1080 { 0x004a, NVOBJ_ENGINE_GR, NULL }, /* gdirect */
1081 { 0x005f, false, NULL }, /* imageblit */ 1081 { 0x005f, NVOBJ_ENGINE_GR, NULL }, /* imageblit */
1082 { 0x009f, false, NULL }, /* imageblit (nv12) */ 1082 { 0x009f, NVOBJ_ENGINE_GR, NULL }, /* imageblit (nv12) */
1083 { 0x008a, false, NULL }, /* ifc */ 1083 { 0x008a, NVOBJ_ENGINE_GR, NULL }, /* ifc */
1084 { 0x0089, false, NULL }, /* sifm */ 1084 { 0x0089, NVOBJ_ENGINE_GR, NULL }, /* sifm */
1085 { 0x0062, false, NULL }, /* surf2d */ 1085 { 0x0062, NVOBJ_ENGINE_GR, NULL }, /* surf2d */
1086 { 0x0043, false, NULL }, /* rop */ 1086 { 0x0043, NVOBJ_ENGINE_GR, NULL }, /* rop */
1087 { 0x0012, false, NULL }, /* beta1 */ 1087 { 0x0012, NVOBJ_ENGINE_GR, NULL }, /* beta1 */
1088 { 0x0072, false, NULL }, /* beta4 */ 1088 { 0x0072, NVOBJ_ENGINE_GR, NULL }, /* beta4 */
1089 { 0x0019, false, NULL }, /* cliprect */ 1089 { 0x0019, NVOBJ_ENGINE_GR, NULL }, /* cliprect */
1090 { 0x0044, false, NULL }, /* pattern */ 1090 { 0x0044, NVOBJ_ENGINE_GR, NULL }, /* pattern */
1091 { 0x0052, false, NULL }, /* swzsurf */ 1091 { 0x0052, NVOBJ_ENGINE_GR, NULL }, /* swzsurf */
1092 { 0x0093, false, NULL }, /* surf3d */ 1092 { 0x0093, NVOBJ_ENGINE_GR, NULL }, /* surf3d */
1093 { 0x0094, false, NULL }, /* tex_tri */ 1093 { 0x0094, NVOBJ_ENGINE_GR, NULL }, /* tex_tri */
1094 { 0x0095, false, NULL }, /* multitex_tri */ 1094 { 0x0095, NVOBJ_ENGINE_GR, NULL }, /* multitex_tri */
1095 { 0x0056, false, NULL }, /* celcius (nv10) */ 1095 { 0x0056, NVOBJ_ENGINE_GR, NULL }, /* celcius (nv10) */
1096 { 0x0096, false, NULL }, /* celcius (nv11) */ 1096 { 0x0096, NVOBJ_ENGINE_GR, NULL }, /* celcius (nv11) */
1097 { 0x0099, false, nv17_graph_celsius_mthds }, /* celcius (nv17) */ 1097 { 0x0099, NVOBJ_ENGINE_GR, nv17_graph_celsius_mthds }, /* celcius (nv17) */
1098 {} 1098 {}
1099}; 1099};