diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_mem.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_mem.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_mem.c b/drivers/gpu/drm/nouveau/nouveau_mem.c index dbeb9e5f6b22..2d02401e8227 100644 --- a/drivers/gpu/drm/nouveau/nouveau_mem.c +++ b/drivers/gpu/drm/nouveau/nouveau_mem.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include "nouveau_drv.h" | 37 | #include "nouveau_drv.h" |
38 | #include "nouveau_pm.h" | 38 | #include "nouveau_pm.h" |
39 | #include "nouveau_mm.h" | 39 | #include "nouveau_mm.h" |
40 | #include "nouveau_vm.h" | ||
40 | 41 | ||
41 | /* | 42 | /* |
42 | * NV10-NV40 tiling helpers | 43 | * NV10-NV40 tiling helpers |
@@ -201,7 +202,7 @@ nv50_mem_vm_bind_linear(struct drm_device *dev, uint64_t virt, uint32_t size, | |||
201 | dev_priv->engine.instmem.flush(dev); | 202 | dev_priv->engine.instmem.flush(dev); |
202 | dev_priv->engine.fifo.tlb_flush(dev); | 203 | dev_priv->engine.fifo.tlb_flush(dev); |
203 | dev_priv->engine.graph.tlb_flush(dev); | 204 | dev_priv->engine.graph.tlb_flush(dev); |
204 | nv50_vm_flush(dev, 6); | 205 | nv50_vm_flush_engine(dev, 6); |
205 | return 0; | 206 | return 0; |
206 | } | 207 | } |
207 | 208 | ||
@@ -234,7 +235,7 @@ nv50_mem_vm_unbind(struct drm_device *dev, uint64_t virt, uint32_t size) | |||
234 | dev_priv->engine.instmem.flush(dev); | 235 | dev_priv->engine.instmem.flush(dev); |
235 | dev_priv->engine.fifo.tlb_flush(dev); | 236 | dev_priv->engine.fifo.tlb_flush(dev); |
236 | dev_priv->engine.graph.tlb_flush(dev); | 237 | dev_priv->engine.graph.tlb_flush(dev); |
237 | nv50_vm_flush(dev, 6); | 238 | nv50_vm_flush_engine(dev, 6); |
238 | } | 239 | } |
239 | 240 | ||
240 | /* | 241 | /* |