diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-03-31 23:10:45 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-05-15 20:48:33 -0400 |
commit | 96c50082904c7cefa3b01356f62268ee6d9e9f38 (patch) | |
tree | a735093f5a7a9f4489bae195bd0809e714ba70a2 /drivers/gpu/drm/nouveau/nv10_graph.c | |
parent | 4976986bd4f51368890f57b964176ec532972543 (diff) |
drm/nouveau: move set_tile_region to nouveau_exec_engine
In the very least VPE (PMPEG and friends) also has this style of tile
region regs, lets make them just work if/when they get added.
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nv10_graph.c b/drivers/gpu/drm/nouveau/nv10_graph.c index afc456bb2beb..0930c6cb88e0 100644 --- a/drivers/gpu/drm/nouveau/nv10_graph.c +++ b/drivers/gpu/drm/nouveau/nv10_graph.c | |||
@@ -893,7 +893,7 @@ nv10_graph_context_del(struct nouveau_channel *chan, int engine) | |||
893 | kfree(pgraph_ctx); | 893 | kfree(pgraph_ctx); |
894 | } | 894 | } |
895 | 895 | ||
896 | void | 896 | static void |
897 | nv10_graph_set_tile_region(struct drm_device *dev, int i) | 897 | nv10_graph_set_tile_region(struct drm_device *dev, int i) |
898 | { | 898 | { |
899 | struct drm_nouveau_private *dev_priv = dev->dev_private; | 899 | struct drm_nouveau_private *dev_priv = dev->dev_private; |
@@ -1143,6 +1143,7 @@ nv10_graph_create(struct drm_device *dev) | |||
1143 | pgraph->base.context_new = nv10_graph_context_new; | 1143 | pgraph->base.context_new = nv10_graph_context_new; |
1144 | pgraph->base.context_del = nv10_graph_context_del; | 1144 | pgraph->base.context_del = nv10_graph_context_del; |
1145 | pgraph->base.object_new = nv04_graph_object_new; | 1145 | pgraph->base.object_new = nv04_graph_object_new; |
1146 | pgraph->base.set_tile_region = nv10_graph_set_tile_region; | ||
1146 | 1147 | ||
1147 | NVOBJ_ENGINE_ADD(dev, GR, &pgraph->base); | 1148 | NVOBJ_ENGINE_ADD(dev, GR, &pgraph->base); |
1148 | nouveau_irq_register(dev, 12, nv10_graph_isr); | 1149 | nouveau_irq_register(dev, 12, nv10_graph_isr); |