Displaying 1 result from an estimated 1 matches for "so_get_push_reloc_mark".
2009 Dec 05
0
[PATCH] nouveau: avoid running out of relocs (attempt 3)
...f_emit_reloc(chan, pb->cur + r->offset,
r->bo, r->data, 0, r->flags,
- r->vor, r->tor);
+ r->vor, r->tor))) {
+ debug_printf("so_emit failed reloc with error %d\n", ret);
+ return;
+ }
}
pb->cur += nr;
}
static INLINE void
+so_get_push_reloc_markers(struct nouveau_stateobj *so, int *push, int *reloc)
+{
+ *push += (so->cur_reloc << 1);
+ *reloc += (so->cur_reloc << 1);
+}
+
+static INLINE void
so_emit_reloc_markers(struct nouveau_channel *chan, struct nouveau_stateobj *so)
{
struct nouveau_pushbuf *pb = chan->pushbu...