search for: nv50_draw_el

Displaying 3 results from an estimated 3 matches for "nv50_draw_el".

2013 Nov 30
1
[PATCH 1/2] nouveau: avoid leaking fences while waiting
...it.edu> Cc: "9.2 10.0" <mesa-stable at lists.freedesktop.org> --- TBH I'm pretty confused by the whole fence refcounting logic and its interaction with emits, updates, etc. However valgrind was happy with this. But it wasn't happy when I was doing nouveau_fence_wait from nv50_draw_elements, saying that the fence allocated by nouveau_fence_new was leaked. (Note that the kick handler when doing vbo stuff does NOT do nouveau_fence_next on its own... but adding that there still didn't fix all my issues, nor is it likely desirable.) src/gallium/drivers/nouveau/nouveau_fence.c...
2009 Oct 14
0
[PATCH 3/7] nv50: submit user vbo data through the fifo
...esla, NV50TCL_VERTEX_BUFFER_FIRST, 2); + OUT_RING (chan, start); + OUT_RING (chan, count); + ret = TRUE; + } BEGIN_RING(chan, tesla, NV50TCL_VERTEX_END, 1); OUT_RING (chan, 0); - pipe->flush(pipe, 0, NULL); - return TRUE; + return ret; } -static INLINE void +static INLINE boolean nv50_draw_elements_inline_u08(struct nv50_context *nv50, uint8_t *map, unsigned start, unsigned count) { @@ -161,6 +179,9 @@ nv50_draw_elements_inline_u08(struct nv50_context *nv50, uint8_t *map, map += start; + if (nv50->vbo_fifo) + return nv50_push_elements_u08(nv50, map, count); + if (...
2014 Dec 31
0
[PATCH] nv50,nvc0: set vertex id base to index_bias
...h, NV50_3D(VB_ELEMENT_BASE), 1); PUSH_DATA (push, 0); + if (nv50->screen->base.class_3d >= NV84_3D_CLASS) { + BEGIN_NV04(push, SUBC_3D(NV84_3D_VERTEX_ID_BASE), 1); + PUSH_DATA (push, 0); + } nv50->state.index_bias = 0; } @@ -594,6 +598,10 @@ nv50_draw_elements(struct nv50_context *nv50, boolean shorten, if (index_bias != nv50->state.index_bias) { BEGIN_NV04(push, NV50_3D(VB_ELEMENT_BASE), 1); PUSH_DATA (push, index_bias); + if (nv50->screen->base.class_3d >= NV84_3D_CLASS) { + BEGIN_NV04(push, SUBC_3D(NV84...