Displaying 20 results from an estimated 1375 matches for "nv50".
2015 Aug 24
4
[PATCH] nv50: avoid using inline vertex data submit when gl_VertexID is used
The hardware only generates vertexid when vertices come from a VBO. This
fixes:
vertexid-drawelements
vertexid-drawarrays
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.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/...
2009 Oct 10
0
[PATCH 1/7] nv50: use SIFC for TIC, TSC upload
Add proper flushes for TIC and TSC and remove
the costly 2D.0110 flush in nv50_flush.
Correct TIC and TSC bo sizes.
---
src/gallium/drivers/nv50/nv50_context.c | 7 ---
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 ++++++++++++++++++...
2014 Feb 04
2
[PATCH 1/3] nv50: rework primid logic
...th future layer/viewport changes/fixes.
Cc: 10.1 <mesa-stable at lists.freedesktop.org>
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
Not *strictly* necessary in stable, but it will make backporting later fixes
easier. No regressions in piglit.
src/gallium/drivers/nouveau/nv50/nv50_program.c | 5 +----
src/gallium/drivers/nouveau/nv50/nv50_program.h | 1 -
src/gallium/drivers/nouveau/nv50/nv50_shader_state.c | 4 +++-
3 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_program.c b/src/gallium/drivers/nouveau/nv50...
2014 Aug 30
3
[Mesa-stable] [PATCH 2/2] nv50: zero out unbound samplers
...02, Ilia Mirkin wrote:
> Samplers are only defined up to num_samplers, so set all samplers above
> nr to NULL so that we don't try to read them again later.
>
Would it be worth doing a similar thing with the unlocked samplers below the
nr mark ? It seems to me that we might be leaking nv50->samplers[s][i], or
perhaps I'm missing something ?
-Emil
> Tested-by: Christian Ruppert <idl0r at qasl.de>
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> Cc: "10.2 10.3" <mesa-stable at lists.freedesktop.org>
> ---
> src/gallium/driver...
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/galliu...
2009 Dec 21
2
[PATCH 1/2] Unreference state/buffer objects on context/screen destruction
- unreference state objects so that buffer objects are unreferenced and
eventually destroyed
- free channel at screen's destruction
Index: nv50/nv50_screen.c
===================================================================
--- nv50/nv50_screen.c (wersja 32083)
+++ nv50/nv50_screen.c (kopia robocza)
@@ -162,7 +162,22 @@
nv50_screen_destroy(struct pipe_screen *pscreen)
{
struct nv50_screen *screen = nv50_screen(pscreen);
+ unsig...
2020 Feb 13
1
[PATCH 1/4] drm/nouveau/kms/nv50-: Probe SOR caps for DP interlacing support
...ecause it contains a -stable tag.
The stable tag indicates that it's relevant for the following trees: all
The bot has tested the following trees: v5.5.3, v5.4.19, v4.19.103, v4.14.170, v4.9.213, v4.4.213.
v5.5.3: Failed to apply! Possible dependencies:
5ff0cb1ce253 ("drm/nouveau/kms/nv50-: Use less encoders by making mstos per-head")
v5.4.19: Failed to apply! Possible dependencies:
5ff0cb1ce253 ("drm/nouveau/kms/nv50-: Use less encoders by making mstos per-head")
v4.19.103: Failed to apply! Possible dependencies:
5e292e7646ef ("drm/nouveau: Remove unne...
2009 Jul 12
0
[PATCH 2/3] nv50: fix viewport transform
...meters
when the state tracker thinks we have Y_0_TOP.
If these cases, we have do to bypass mode by setting an
identity viewport transform for x, z and inversion for y,
or p.e. clear_with_quad won't work correctly.
Clipping for xy in NDC space needs to be disabled then.
---
src/gallium/drivers/nv50/nv50_context.h | 1 +
src/gallium/drivers/nv50/nv50_state_validate.c | 55 +++++++++++++++++-------
2 files changed, 40 insertions(+), 16 deletions(-)
diff --git a/src/gallium/drivers/nv50/nv50_context.h b/src/gallium/drivers/nv50/nv50_context.h
index 9b8cc4d..f66e0f2 100644
--- a/src/...
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 --g...
2014 Feb 13
2
[PATCH] nv50: make sure to clear _all_ layers of all attachments
...um.mit.edu>
---
Haven't had a chance to do a full piglit run on this yet, but it does fix the
failing test. Have a look. I'm not sure if zeta can have layers, it seems like
a couple of things assumed it couldn't. I've changed that assumption around.
src/gallium/drivers/nouveau/nv50/nv50_context.h | 2 ++
.../drivers/nouveau/nv50/nv50_state_validate.c | 1 +
src/gallium/drivers/nouveau/nv50/nv50_surface.c | 19 +++++++++++++++++--
3 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_context.h b/src/gallium/d...
2009 Dec 20
2
[PATCH 1/2] nv50: don't emit reloc markers after a referenced vtxbuf is mapped
...igned-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 | 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/gall...
2009 Jun 21
0
[PATCH] nv50: add support for two-sided lighting
---
src/gallium/drivers/nv50/nv50_context.h | 1 +
src/gallium/drivers/nv50/nv50_program.c | 171 ++++++++++++++++++------
src/gallium/drivers/nv50/nv50_program.h | 1 +
src/gallium/drivers/nv50/nv50_state_validate.c | 3 +
4 files changed, 138 insertions(+), 38 deletions(-)
diff --git a/src/gal...
2009 Dec 05
0
[PATCH] nouveau: avoid running out of relocs (attempt 3)
...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 insertions(+), 16 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 +++++++++...
2009 Dec 20
1
[PATCH] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
...ent.
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 +++++++++++++
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/g...
2014 Oct 21
0
[PATCH v2] nv50: Handle ARB_conditional_render_inverted and enable it
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
---
docs/GL3.txt | 2 +-
docs/relnotes/10.4.html | 1 +
src/gallium/drivers/nouveau/nv50/nv50_context.h | 3 +-
src/gallium/drivers/nouveau/nv50/nv50_query.c | 56 +++++++++++++++++++++----
src/gallium/drivers/nouveau/nv50/nv50_screen.c | 2 +-
src/gallium/drivers/nouveau/nv50/nv50_surface.c | 2 +-
6 files changed, 54 insertions(+), 12 deletions(-)
diff --git a/docs/GL3.txt b/d...
2009 May 08
0
[PATCH] gallium/nv50: fix multi-texturing
...sampler units (or textures to texture units
or whatever it's called), which wasn't done before. It should make the
mesa demo "multiarb" work, at least with the shader patches I sent
earlier. Of course, with this functionality one probably wouldn't have
to setup the textures in NV50_TIC anew every time, but that can be
optimized later.
-----------------------------
commit bced24ac0c6ac6f3d3b7c2627595b09c20d419ca
Author: chr <chr at LAPTOP.(none)>
Date: Fri May 8 18:48:45 2009 +0200
nv50: Fix multi-texturing.
We need to bind textures to sampler units.
diff --...
2009 Sep 12
0
[PATCH 13/13] nv50: add support for point sprites
---
src/gallium/drivers/nv50/nv50_program.c | 54 ++++++++++++++++++++++++++++++-
src/gallium/drivers/nv50/nv50_screen.c | 2 +-
src/gallium/drivers/nv50/nv50_state.c | 3 ++
3 files changed, 57 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_progra...
2014 Jan 13
20
[PATCH 00/19] nv50: add sampler2DMS/GP support to get OpenGL 3.2
...le for fb clears to operate on texture attachments
with an explicit layer set (as is allowed in gl 3.2).
Patches 15-17: Make ARB_texture_multisample work
Patch 18: Enable GLSL 1.50
Patch 19: Turn on ARB_seamless_cube_map irrespective of HW support so that all nv50 cards can get OpenGL 3.2 and geometry shaders (which
are otherwise unsupported)
There are still a few geometry-related piglits that fail -- specifically:
primitive-id-no-gs
gl-3.2-layered-rendering-gl-layer*
I need to trace the blob to figure out exactly how to configure the HW...
2009 Jun 21
0
[PATCH] nv50: don't allocate in the param buffer
Since we upload all parameters on every program / constbuf change,
we don't have to reserve space and can just use the whole buffer.
Doesn't apply to the buffer holding immediates.
---
src/gallium/drivers/nv50/nv50_program.c | 39 ++++++++----------------------
src/gallium/drivers/nv50/nv50_program.h | 6 ++--
2 files changed, 14 insertions(+), 31 deletions(-)
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index 75c5cea..28a9f2a 100644
--- a/src/galli...