Displaying 5 results from an estimated 5 matches for "nv40_state_emit".
2009 Dec 05
1
[PATCH] nouveau: avoid running out of relocs (attempt 4)
...rs/nv30/nv30_context.c | 3 ++
src/gallium/drivers/nv30/nv30_context.h | 1 +
src/gallium/drivers/nv30/nv30_state_emit.c | 10 +++++-
src/gallium/drivers/nv40/nv40_context.c | 3 ++
src/gallium/drivers/nv40/nv40_context.h | 1 +
src/gallium/drivers/nv40/nv40_state_emit.c | 10 +++++-
src/gallium/drivers/nv50/nv50_query.c | 2 +-
src/gallium/drivers/nv50/nv50_surface.c | 2 +
src/gallium/drivers/nv50/nv50_transfer.c | 4 +-
11 files changed, 69 insertions(+), 18 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nouveau_sta...
2010 Jan 18
1
[PATCH 1/2] nv30-nv40: Rewrite primitive splitting and emission
...xt *nv40,
+ unsigned mode, unsigned start, unsigned count, unsigned vpp, unsigned startv)
+{
+ prim->nv40 = nv40;
+ prim->start = start;
+ prim->end = start + count;
+ prim->mode = mode;
+ prim->flags = 0;
+ prim->startv = startv;
+ prim->chunk = -1;
+ prim->vpp = vpp;
+
+ nv40_state_emit(nv40);
+}
+
+#define START_INDEX 0x80000000
+
+static inline void
+nv40_primitive_start_vertex(struct nv40_primitive* prim)
+{
+ struct nv40_screen *screen = prim->nv40->screen;
+ struct nouveau_channel *chan = screen->base.channel;
+ struct nouveau_grobj *curie = screen->curie;
+
+ if(...
2009 Dec 13
3
[PATCH] nouveau: avoid running out of relocs (attempt 5)
...rs/nv30/nv30_context.c | 3 ++
src/gallium/drivers/nv30/nv30_context.h | 1 +
src/gallium/drivers/nv30/nv30_state_emit.c | 10 +++++-
src/gallium/drivers/nv40/nv40_context.c | 3 ++
src/gallium/drivers/nv40/nv40_context.h | 1 +
src/gallium/drivers/nv40/nv40_state_emit.c | 10 +++++-
src/gallium/drivers/nv50/nv50_query.c | 2 +-
src/gallium/drivers/nv50/nv50_surface.c | 2 +
src/gallium/drivers/nv50/nv50_transfer.c | 4 +-
11 files changed, 74 insertions(+), 18 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nouveau_sta...
2009 Dec 05
0
[PATCH] nouveau: avoid running out of relocs (attempt 3)
...39;ll take better naming suggestions for so_get_push_reloc().
---
src/gallium/drivers/nouveau/nouveau_stateobj.h | 49 +++++++++++++++++++-----
src/gallium/drivers/nv04/nv04_surface_2d.c | 9 +++-
src/gallium/drivers/nv30/nv30_state_emit.c | 26 ++++++++++++
src/gallium/drivers/nv40/nv40_state_emit.c | 30 ++++++++++++++
src/gallium/drivers/nv50/nv50_query.c | 2 +-
src/gallium/drivers/nv50/nv50_state_validate.c | 39 +++++++++++++++++++
src/gallium/drivers/nv50/nv50_surface.c | 2 +
src/gallium/drivers/nv50/nv50_transfer.c | 4 +-
8 files changed, 145 i...
2009 Dec 30
4
[PATCH 1/3] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
- This avoids problematic "reloc'ed while mapped" messages and
some associated corruption as well.
Signed-off-by: Maarten Maathuis <madman2003 at gmail.com>
---
src/gallium/drivers/nouveau/nouveau_screen.c | 21 +++++++++++++++++++++
src/gallium/drivers/nouveau/nouveau_screen.h | 3 +++
src/gallium/drivers/nouveau/nouveau_stateobj.h | 13 +++++++++++++