search for: nv50_vbo

Displaying 20 results from an estimated 22 matches for "nv50_vbo".

2020 Oct 19
1
Small patch for nv50_vbo.c
Hi all! I saw TODO comment in nv50_vbo.c and decided to look at similar file, nvc0_vbo.c. I copied those two lines into nv50 with slight name change (nvc0->nv50) and apparently it doesn't fix any OpenGL app I have, but does not broke them further (I have compute pacthes currently applied, so some breakage expected). diff --git a...
2015 Aug 24
4
[PATCH] nv50: avoid using inline vertex data submit when gl_VertexID is used
...edu> Cc: "11.0" <mesa-stable at lists.freedesktop.org> --- src/gallium/drivers/nouveau/nv50/nv50_program.c | 1 + src/gallium/drivers/nouveau/nv50/nv50_program.h | 1 + src/gallium/drivers/nouveau/nv50/nv50_state_validate.c | 3 ++- src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 8 ++++++++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/nouveau/nv50/nv50_program.c b/src/gallium/drivers/nouveau/nv50/nv50_program.c index 02dc367..eff4477 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_program.c +++ b/src/gallium/drivers/n...
2009 Dec 20
2
[PATCH 1/2] nv50: don't emit reloc markers after a referenced vtxbuf is mapped
...3 +++ src/gallium/drivers/nouveau/nouveau_stateobj.h | 20 +++++++++++++++++++- src/gallium/drivers/nv50/nv50_screen.c | 20 ++++++++++++++++++++ src/gallium/drivers/nv50/nv50_screen.h | 2 ++ src/gallium/drivers/nv50/nv50_state_validate.c | 2 ++ src/gallium/drivers/nv50/nv50_vbo.c | 4 +++- 7 files changed, 70 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/nouveau/nouveau_screen.c b/src/gallium/drivers/nouveau/nouveau_screen.c index e4cf91c..c85057a 100644 --- a/src/gallium/drivers/nouveau/nouveau_screen.c +++ b/src/gallium/drivers/nouveau/no...
2009 Dec 20
1
[PATCH] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
...3 +++ src/gallium/drivers/nouveau/nouveau_stateobj.h | 13 +++++++++++++ src/gallium/drivers/nv50/nv50_screen.c | 23 +++++++++++++++++++++++ src/gallium/drivers/nv50/nv50_screen.h | 2 ++ src/gallium/drivers/nv50/nv50_state_validate.c | 2 ++ src/gallium/drivers/nv50/nv50_vbo.c | 4 +++- 7 files changed, 67 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/nouveau/nouveau_screen.c b/src/gallium/drivers/nouveau/nouveau_screen.c index e4cf91c..c85057a 100644 --- a/src/gallium/drivers/nouveau/nouveau_screen.c +++ b/src/gallium/drivers/nouveau/no...
2009 Jul 28
0
[PATCH 6/8] nv50: support more vtxelt formats
NOTE: we must not try to emit buffer relocations when vtxbuf_nr is 0 but vtxelt_nr is not --- src/gallium/drivers/nv50/nv50_vbo.c | 80 ++++++++++++++++++++++++---------- 1 files changed, 56 insertions(+), 24 deletions(-) diff --git a/src/gallium/drivers/nv50/nv50_vbo.c b/src/gallium/drivers/nv50/nv50_vbo.c index cbd9d6a..422c8c6 100644 --- a/src/gallium/drivers/nv50/nv50_vbo.c +++ b/src/gallium/drivers/nv50/nv50_vbo.c @...
2013 Nov 30
1
[PATCH 1/2] nouveau: avoid leaking fences while waiting
This fixes a memory leak in some situations. Also avoids emitting an extra fence if the kick handler does the call to nouveau_fence_next itself. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.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
2014 Dec 31
0
[PATCH] nv50,nvc0: set vertex id base to index_bias
...onstbuf value in, but that's beyond the scope of this change. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> Cc: "10.3 10.4" <mesa-stable at lists.freedesktop.org> --- src/gallium/drivers/nouveau/nv50/nv50_screen.c | 7 +++++++ src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 8 ++++++++ src/gallium/drivers/nouveau/nvc0/mme/com9097.mme | 7 ++++++- src/gallium/drivers/nouveau/nvc0/mme/com9097.mme.h | 12 ++++++++---- src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c | 8 ++++++-- 5 files changed, 35 insertions(+), 7 deletions(-) diff --git a/src/galliu...
2009 Dec 25
0
[MESA PATCH 5/5] nv50: update after nouveau_class.h update
--- src/gallium/drivers/nv50/nv50_program.c | 2 +- src/gallium/drivers/nv50/nv50_screen.c | 17 ++++++++--------- src/gallium/drivers/nv50/nv50_state_validate.c | 10 +++++----- src/gallium/drivers/nv50/nv50_transfer.c | 8 ++++---- src/gallium/drivers/nv50/nv50_vbo.c | 24 ++++++++++++------------ 5 files changed, 30 insertions(+), 31 deletions(-) diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c index a101ac0..d3b0180 100644 --- a/src/gallium/drivers/nv50/nv50_program.c +++ b/src/gallium/drivers/nv50...
2014 Jul 01
1
[PATCH 1/2] nv50: do an explicit flush on draw when there are persistent buffers
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- src/gallium/drivers/nouveau/nv50/nv50_context.c | 22 ++++++++++++++++++- src/gallium/drivers/nouveau/nv50/nv50_context.h | 1 + src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 29 ++++++++++++++++++++++++- 3 files changed, 50 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/nouveau/nv50/nv50_context.c b/src/gallium/drivers/nouveau/nv50/nv50_context.c index 3f3a888..c2eb0c0 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_context.c +++ b/src/galli...
2009 Oct 10
0
[PATCH 1/7] nv50: use SIFC for TIC, TSC upload
...src/gallium/drivers/nv50/nv50_context.h | 5 ++ src/gallium/drivers/nv50/nv50_screen.c | 25 ++--------- src/gallium/drivers/nv50/nv50_state_validate.c | 53 +++++++++++++++++++++--- src/gallium/drivers/nv50/nv50_tex.c | 33 +++++++++----- src/gallium/drivers/nv50/nv50_vbo.c | 4 -- 6 files changed, 77 insertions(+), 50 deletions(-) diff --git a/src/gallium/drivers/nv50/nv50_context.c b/src/gallium/drivers/nv50/nv50_context.c index fca078b..0cdab9b 100644 --- a/src/gallium/drivers/nv50/nv50_context.c +++ b/src/gallium/drivers/nv50/nv50_context.c @@ -33...
2014 Apr 30
1
[PATCH 1/2] nouveau: remove cb_dirty, it's never used
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- src/gallium/drivers/nouveau/nouveau_buffer.c | 4 +--- src/gallium/drivers/nouveau/nouveau_context.h | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gallium/drivers/nouveau/nouveau_buffer.c b/src/gallium/drivers/nouveau/nouveau_buffer.c index e308ff4..904e2cc 100644 ---
2009 Oct 14
0
[PATCH 3/7] nv50: submit user vbo data through the fifo
Requesting a new real buffer from the kernel and copying all the data is wasteful e.g. if only a few (but widely spread) vertices are accessed. --- src/gallium/drivers/nv50/nv50_context.h | 3 + src/gallium/drivers/nv50/nv50_vbo.c | 409 +++++++++++++++++++++++++++++-- 2 files changed, 394 insertions(+), 18 deletions(-) diff --git a/src/gallium/drivers/nv50/nv50_context.h b/src/gallium/drivers/nv50/nv50_context.h index be53990..8e2d695 100644 --- a/src/gallium/drivers/nv50/nv50_context.h +++ b/src/gallium/drivers/nv5...
2016 Feb 15
1
[PATCH 09/23] nv50-: separate vertex formats from surface format descriptions
...Skeggs <bskeggs at redhat.com> > --- > src/gallium/drivers/nouveau/nv50/nv50_formats.c | 249 > ++++++++++++++++++------ > src/gallium/drivers/nouveau/nv50/nv50_screen.c | 3 +- > src/gallium/drivers/nouveau/nv50/nv50_screen.h | 5 + > src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 4 +- > src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 +- > src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 5 + > src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c | 4 +- > 7 files changed, 206 insertions(+), 67 deletions(-) > > diff --git a/src/gallium/dri...
2016 Feb 15
0
[PATCH 09/23] nv50-: separate vertex formats from surface format descriptions
...the case. Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- src/gallium/drivers/nouveau/nv50/nv50_formats.c | 249 ++++++++++++++++++------ src/gallium/drivers/nouveau/nv50/nv50_screen.c | 3 +- src/gallium/drivers/nouveau/nv50/nv50_screen.h | 5 + src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 4 +- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 +- src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 5 + src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c | 4 +- 7 files changed, 206 insertions(+), 67 deletions(-) diff --git a/src/gallium/drivers/nouveau/nv50/nv50_format...
2014 Jun 16
2
[PATCH 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
...creen.h | 14 ++--- src/gallium/drivers/nouveau/nv30/nv30_context.c | 4 +- src/gallium/drivers/nouveau/nv30/nv30_screen.c | 23 +++++--- src/gallium/drivers/nouveau/nv50/nv50_context.c | 4 +- src/gallium/drivers/nouveau/nv50/nv50_screen.c | 20 +++++-- src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 2 +- src/gallium/drivers/nouveau/nvc0/nvc0_context.c | 4 +- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 19 +++++-- src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c | 2 +- 12 files changed, 121 insertions(+), 78 deletions(-) diff --git a/src/gallium/drivers/nouveau/nouveau_f...
2016 Jun 05
0
[RFC PATCH] nouveau: add locking
...- src/gallium/drivers/nouveau/nv50/nv50_query_hw.c | 20 ++++++-- .../drivers/nouveau/nv50/nv50_query_hw_sm.c | 8 ++++ src/gallium/drivers/nouveau/nv50/nv50_surface.c | 43 +++++++++++++++-- src/gallium/drivers/nouveau/nv50/nv50_transfer.c | 6 +++ src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 5 ++ src/gallium/drivers/nouveau/nvc0/nvc0_compute.c | 5 ++ src/gallium/drivers/nouveau/nvc0/nvc0_context.c | 15 ++++++ src/gallium/drivers/nouveau/nvc0/nvc0_context.h | 5 ++ src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 14 +++++- src/gallium/drivers/nouveau/nvc0/...
2014 Jun 17
2
[PATCH try 2 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
...eau_screen.h | 14 ++--- src/gallium/drivers/nouveau/nv30/nv30_context.c | 4 +- src/gallium/drivers/nouveau/nv30/nv30_screen.c | 23 +++++--- src/gallium/drivers/nouveau/nv50/nv50_context.c | 4 +- src/gallium/drivers/nouveau/nv50/nv50_screen.c | 20 +++++-- src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 2 +- src/gallium/drivers/nouveau/nvc0/nvc0_context.c | 4 +- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 19 +++++-- src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c | 2 +- 12 files changed, 121 insertions(+), 78 deletions(-) diff --git a/src/gallium/drivers/nouveau/nouveau_fence...
2013 Sep 10
3
[Bug 69155] New: codegen/nv50_ir_emit_nv50.cpp:169:srcAddr8: Assertion `(offset <= 0x1fc || offset == 0x3fc) && !(offset & 0x3)' failed.
...e.c:115 #8 0x00007f54bad33b8c in nv50_fragprog_validate (nv50=0x1873350) at nv50_shader_state.c:173 #9 0x00007f54bad24dfd in nv50_state_validate (nv50=0x1873350, mask=4294967295, words=8) at nv50_state_validate.c:394 #10 0x00007f54bad31170 in nv50_draw_vbo (pipe=0x1873350, info=0x7fffb533a150) at nv50_vbo.c:755 #11 0x00007f54babb2a0e in cso_draw_vbo (cso=0x18ec9d0, info=0x7fffb533a150) at cso_cache/cso_context.c:1413 #12 0x00007f54baa97f9a in st_draw_vbo (ctx=0x7f54bf129010, prims=0x7fffb533a210, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=3, tfb_vertcount=0x...
2014 Jun 17
0
[PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...c | 2 +- src/gallium/drivers/nouveau/nv50/nv50_screen.c | 79 +------ src/gallium/drivers/nouveau/nv50/nv50_screen.h | 35 +-- .../drivers/nouveau/nv50/nv50_state_validate.c | 8 +- src/gallium/drivers/nouveau/nv50/nv50_surface.c | 6 +- src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 6 +- src/gallium/drivers/nouveau/nv50/nv84_video.c | 16 +- src/gallium/drivers/nouveau/nvc0/nvc0_compute.c | 20 +- src/gallium/drivers/nouveau/nvc0/nvc0_compute.h | 4 + src/gallium/drivers/nouveau/nvc0/nvc0_context.c | 133 ++++++++--- src/gallium/drivers/nouveau/...
2014 Jun 21
3
[Mesa-dev] [PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
.../gallium/drivers/nouveau/nv50/nv50_screen.c | 79 +------ > src/gallium/drivers/nouveau/nv50/nv50_screen.h | 35 +-- > .../drivers/nouveau/nv50/nv50_state_validate.c | 8 +- > src/gallium/drivers/nouveau/nv50/nv50_surface.c | 6 +- > src/gallium/drivers/nouveau/nv50/nv50_vbo.c | 6 +- > src/gallium/drivers/nouveau/nv50/nv84_video.c | 16 +- > src/gallium/drivers/nouveau/nvc0/nvc0_compute.c | 20 +- > src/gallium/drivers/nouveau/nvc0/nvc0_compute.h | 4 + > src/gallium/drivers/nouveau/nvc0/nvc0_context.c | 133 ++++++++--- > src...