Displaying 1 result from an estimated 1 matches for "332dfa0".
Did you mean:
32d8a0
2010 Mar 01
2
[PATCH] nouveau: make sure initial kalloc for user bo ends up in the right place
...which is then cpu written to, then the bo gets moved to gart.
Signed-off-by: Maarten Maathuis <madman2003 at gmail.com>
---
nouveau/nouveau_reloc.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/nouveau/nouveau_reloc.c b/nouveau/nouveau_reloc.c
index 301482b..332dfa0 100644
--- a/nouveau/nouveau_reloc.c
+++ b/nouveau/nouveau_reloc.c
@@ -73,6 +73,12 @@ nouveau_reloc_emit(struct nouveau_channel *chan, struct nouveau_bo *reloc_bo,
return -EINVAL;
}
+ /* We're about to reloc a user buffer, better make sure we don't cause
+ * a double migration.
+ *...