On 05/11/15 14:42, Hans de Goede wrote:
This commit adds support for dadd with an immediate src in gk110 code.
The machine-code in question is generated by e.g. nouveau_compiler with
the new "Make use of double immediates" patch series when building the
piglit
handling, or other operation modes
(there is at least one, judging by nv hardware - raw copy without
decompression, perhaps?).
The whole thing has a grand total of 17 MMIO registers, 9 of them
writable. Shouldn't be that hard to figure it out...
Marcin Kościelnicki
On 25/11/14 02:33, Andy Ritger
On 25/11/14 22:05, Andy Ritger wrote:
On Tue, Nov 25, 2014 at 10:57:44AM -0500, Ilia Mirkin wrote:
On Mon, Nov 24, 2014 at 8:33 PM, Andy Ritger arit...@nvidia.com wrote:
On Fri, Nov 21, 2014 at 01:39:55AM -0500, Ilia Mirkin wrote:
On Fri, Nov 21, 2014 at 1:16 AM, Andy Ritger
On 03/08/14 21:35, Arnaud Ruch wrote:
From: Marcin Kościelnicki koria...@0x04.net
* AGP 4x video card Creative Labs 3D Blaster NVIDIA GeForce 2 GTS (NV15)
DDR 32 MB VGA output
Say, could I see a hi-res photo of that card? I'd be interested if it
has an MPEG decoder chip (such cards are hard
On 03/08/14 12:23, Arnaud Ruch wrote:
Dear all,
I have a few old video cards that I want to get rid of. I've been
suggested to check whether any nouveau developer would be interested in
getting one of them for development / testing purposes.
Here's the list :
* AGP 4x video card Creative
research on dual-rank
tesla cards (which likely involve a calculation error that falls on the
*un*safe side), but for the moment it's nothing to worry about.
Marcin Kościelnicki
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http
, and not have enough power to take over the machine. Is there any
security model for nVidia hardware/firmware/kernel driver system?
Marcin Kościelnicki
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nouveau_gpio.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_gpio.c
b/drivers/gpu/drm/nouveau/nouveau_gpio.c
index f75ad66..a0911af 100644
--- a/drivers/gpu
.
Marcin Kościelnicki
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
Could we get a better name + description for that? The error happens
when there are no enabled inputs (VP_ATTR_EN is set, but is 0), not when
it's not set at all. VP_ZERO_INPUTS or VP_NO_INPUTS perhaps?
Yes, that's correct.
Also, have you checked if that error happens on all submission
still be worth a trace on nvc0, though.
Marcin Kościelnicki
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
to be reverted first)
Marcin
could you extract the ctxprog blob uses on your system and post it?
How can I extract it?
Marcin
Do a mmiotrace, look for a string of writes to 400328 preceded by a
write of 0 to 400324.
Marcin Kościelnicki
___
Nouveau
that demmio uses.
mmt traces are much more trouble due to reordering writes, multiple FIFOs,
etc.
Marcin Kościelnicki
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
doesn't have a name, and hence doesn't have a define.
I'd suggest changing the stripe's name to TEX, and nuking TEX_ prefix from
the regs inside it: you'll end up with NV20_3D_TEX__LEN defined to 4, and
the effective names of stuff inside it will be unchanged.
Marcin Kościelnicki
-video-nouveau, it didn't know about NVAF and tried to use
the NVA3 object class. Please update to latest git.
Marcin Kościelnicki
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
---
drivers/gpu/drm/nouveau/nouveau_bios.c |2 ++
drivers/gpu/drm/nouveau/nouveau_drv.c |4
drivers/gpu/drm/nouveau/nouveau_drv.h |1 +
3 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c
On Sun, 2010-05-23 at 11:36 +, Marcin Kościelnicki wrote:
This will be useful for computing GPU-CPU latency, including
GL_ARB_timer_query extension.
Looks fine, just a quick question as to whether this is necessary? I
seem to recall that on nv40, the QUERY methods actually return
This will be useful for computing GPU-CPU latency, including
GL_ARB_timer_query extension.
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nouveau_state.c |3 +++
include/drm/nouveau_drm.h |1 +
2 files changed, 4 insertions(+), 0 deletions
This will be useful for computing GPU-CPU latency, including
GL_ARB_timer_query extension.
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nouveau_state.c |3 +++
include/drm/nouveau_drm.h |1 +
2 files changed, 4 insertions(+), 0 deletions
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nv04_graph.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv04_graph.c
b/drivers/gpu/drm/nouveau/nv04_graph.c
index 618355e..6a84b6e 100644
--- a/drivers/gpu/drm
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nv20_graph.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv20_graph.c
b/drivers/gpu/drm/nouveau/nv20_graph.c
index d6fc0a8..bd83971 100644
--- a/drivers/gpu/drm
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nv04_fbcon.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv04_fbcon.c
b/drivers/gpu/drm/nouveau/nv04_fbcon.c
index 813b25c..7cf9287 100644
--- a/drivers/gpu/drm
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nv04_graph.c | 571 --
1 files changed, 538 insertions(+), 33 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv04_graph.c
b/drivers/gpu/drm/nouveau/nv04_graph.c
index d96c351
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nv04_graph.c | 571 --
1 files changed, 538 insertions(+), 33 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv04_graph.c
b/drivers/gpu/drm/nouveau/nv04_graph.c
index d96c351
on nv50] ignore the data value. Whenever
they're on the tip of the internal PGRAPH command FIFO, they'll stall all
processing until all PGRAPH subunits are idled, effectively acting as a full
barrier.
Yes, SERIALIZE should be renamed to WAIT_FOR_IDLE.
Best,
- Shinpei
Marcin Kościelnicki
it, and I'm not fully certain if the address is 0x108 or 0x110... it's
0x110 at least on the NV40 3d object.
Thanks,
- Shinpei
Marcin Kościelnicki
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
and the like
Very likely there are more types, using different engine than PGRAPH, but we
don't know anything about them yet. At the very least there should be the
video decoding engine.
Marcin Kościelnicki
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
,
- Shinpei
Marcin Kościelnicki
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nv50_grctx.c | 13 -
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv50_grctx.c
b/drivers/gpu/drm/nouveau/nv50_grctx.c
index 3c3cc46..42a8fb2 100644
support already, but the original NVA3 owner who gave me
necessary dumps disappeared without a trace. Here:
http://0x04.net/~mwk/0001-drm-nv50-Add-NVA3-support-in-ctxprog-ctxvals-
generat.patch
Please test. If it works for you, we'll push it to master.
Marcin Kościelnicki
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nv50_graph.c |7 ---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv50_graph.c
b/drivers/gpu/drm/nouveau/nv50_graph.c
index c62b33a..b203d06 100644
--- a/drivers/gpu
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nv50_grctx.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv50_grctx.c
b/drivers/gpu/drm/nouveau/nv50_grctx.c
index 546b319..3c3cc46 100644
--- a/drivers/gpu
by using method SERIALIZE
[0x110]. No idea yet about PFIFO-PGRAPH sync.
Marcin Kościelnicki
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
---
src/gallium/winsys/drm/nouveau/xorg/Makefile |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/winsys/drm/nouveau/xorg/Makefile
b/src/gallium/winsys/drm/nouveau/xorg/Makefile
index 179b502..71f389d 100644
--- a/src/gallium/winsys/drm/nouveau/xorg/Makefile
This will fix races between generated ctxprogs and interrupt handler.
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nv50_grctx.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv50_grctx.c
b/drivers/gpu/drm
, which doesn't sound like a proper
solution, but seems to work just fine... for now.
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/Makefile|2 +-
drivers/gpu/drm/nouveau/nouveau_drv.h |4 +
drivers/gpu/drm/nouveau/nouveau_irq.c | 598
, which doesn't sound like a proper
solution, but seems to work just fine... for now.
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/Makefile|2 +-
drivers/gpu/drm/nouveau/nouveau_drv.h |4 +
drivers/gpu/drm/nouveau/nouveau_irq.c | 609
NV50 is nice and has a switch that autoaligns stuff for us. Pre-NV50,
we need to align input bitmap width manually.
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nv04_fbcon.c |6 +++---
drivers/gpu/drm/nouveau/nv50_fbcon.c |2 +-
2 files changed, 4
, to anyone reporting success/failure with the generator: please include
your chipset code number [NV50, NV96, NVA5, etc.]. If you don't know what it
is, just report the hex number in Detected an NV50 generation card
(0x086900a2) line
Sorry for that screwup
Marcin Kościelnicki
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nouveau_drv.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c
b/drivers/gpu/drm/nouveau/nouveau_drv.c
index da3b93b..874adf5 100644
--- a/drivers/gpu
chipsets and applications as possible, including gallium3d. Anything that
works with nvidia firmware, but not with this generator, counts as a bug [yes,
even if it involves gallium]. Please report back to my mail address, or to mwk
on IRC.
Marcin Kościelnicki
---
src/nv_driver.c | 32 +---
1 files changed, 1 insertions(+), 31 deletions(-)
diff --git a/src/nv_driver.c b/src/nv_driver.c
index 248a151..9606d97 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -315,8 +315,6 @@ NVAdjustFrame(int scrnIndex, int x, int y,
Turns out we used a misaligned long instruction near the end, and the
shader was getting killed after writing R, A components. This has gone
unnoticed since the remaining G, B outputs aren't actually used.
---
src/nv50_accel.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff
We used single shared fbops struct and patched it at fb init time with
pointers to the right variant. On mixed multicard, this meant that
it was either sending NV50-style commands to all cards, or NV04-style
commands to all cards.
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers
---
drivers/gpu/drm/nouveau/nouveau_drv.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c
b/drivers/gpu/drm/nouveau/nouveau_drv.c
index da3b93b..874adf5 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.c
+++
---
drivers/gpu/drm/nouveau/nouveau_drv.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c
b/drivers/gpu/drm/nouveau/nouveau_drv.c
index da3b93b..874adf5 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.c
+++
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nouveau_drv.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c
b/drivers/gpu/drm/nouveau/nouveau_drv.c
index da3b93b..874adf5 100644
--- a/drivers/gpu
On nv50, this will be needed by applications using CUDA to know
how much stack/local memory to allocate.
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nouveau_reg.h |1 +
drivers/gpu/drm/nouveau/nouveau_state.c |9 +
include/drm/nouveau_drm.h
---
include/drm/nouveau_drm.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/drm/nouveau_drm.h b/include/drm/nouveau_drm.h
index 1e67c44..f745948 100644
--- a/include/drm/nouveau_drm.h
+++ b/include/drm/nouveau_drm.h
@@ -77,6 +77,7 @@ struct
channel #nouveau if you need help with that. However, that shouldn't
happen, since the GT220 chipset is already supported.
Marcin Kościelnicki
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
I found xf86-video-nouveau unable to compile on my system. Failing
with two errors in nv_accel_common.c about NV50_2D_CLIP_ENABLE and
NV50_2D_COLOR_KEY_ENABLE not being defined.
Comparing the source to xf86-video-nv, i found the missing constants
to be 0x290 for CLIP_ENABLE and 0x29c for
This enables streamout functionality.
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nv50_graph.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv50_graph.c
b/drivers/gpu/drm/nouveau/nv50_graph.c
index 8059740
---
drivers/gpu/drm/nouveau/nv04_graph.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv04_graph.c
b/drivers/gpu/drm/nouveau/nv04_graph.c
index 98f3b40..e260986 100644
--- a/drivers/gpu/drm/nouveau/nv04_graph.c
+++
.net/~mwk/gen.diff , please test it with all mentioned cards, and
involve as much gallium as possible. Anything that works with nvidia ctxprogs,
but not with the generator counts as a bug. Report back to my mail address, or
to mwk on IRC.
Marcin Kościelnicki
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nv04_graph.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv04_graph.c
b/drivers/gpu/drm/nouveau/nv04_graph.c
index 396ee92..d561d77 100644
--- a/drivers/gpu/drm
Signed-off-by: Marcin Kościelnicki koria...@0x04.net
---
drivers/gpu/drm/nouveau/nouveau_state.c | 73 ---
1 files changed, 48 insertions(+), 25 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c
b/drivers/gpu/drm/nouveau/nouveau_state.c
index
---
drivers/gpu/drm/nouveau/nouveau_state.c | 25 -
1 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c
b/drivers/gpu/drm/nouveau/nouveau_state.c
index 2ed41d3..285e6da 100644
---
---
drivers/gpu/drm/nouveau/nouveau_state.c | 52 ---
1 files changed, 27 insertions(+), 25 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c
b/drivers/gpu/drm/nouveau/nouveau_state.c
index 2ed41d3..25d207c 100644
---
58 matches
Mail list logo