* [envytools PATCH] nv50/pgraph: DATA_ERROR 0x24
@ 2012-05-06 18:51 Marcin Slusarz
[not found] ` <20120506185103.GA4311-OI9uyE9O0yo@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Marcin Slusarz @ 2012-05-06 18:51 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
---
rnndb/nv50_pgraph.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/rnndb/nv50_pgraph.xml b/rnndb/nv50_pgraph.xml
index 92d69ea..6499631 100644
--- a/rnndb/nv50_pgraph.xml
+++ b/rnndb/nv50_pgraph.xml
@@ -93,6 +93,9 @@
<value value="0x23" name="XY_OUT_OF_BOUNDS"> <!-- m2mf at least. 2d too? -->
<brief>Your x/y coords exceed the size of your surface.</brief>
</value>
+ <value value="0x24" name="VP_NO_INPUT_MASK">
+ <brief>You tried to submit vertices without setting input mask (VP_ATTR_EN).</brief>
+ </value>
<value value="0x27" name="CP_MORE_PARAMS_THAN_SHARED">
<brief>You tried to launch block with more params than allocated s[] space.</brief>
</value>
--
1.7.8.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [envytools PATCH] nv50/pgraph: DATA_ERROR 0x24
[not found] ` <20120506185103.GA4311-OI9uyE9O0yo@public.gmane.org>
@ 2012-05-06 19:01 ` Marcin Kościelnicki
[not found] ` <4FA6CA9D.5070107-mP9o5jsk0RY@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Marcin Kościelnicki @ 2012-05-06 19:01 UTC (permalink / raw)
To: Marcin Slusarz; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
On 06.05.2012 20:51, Marcin Slusarz wrote:
>
> ---
> rnndb/nv50_pgraph.xml | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/rnndb/nv50_pgraph.xml b/rnndb/nv50_pgraph.xml
> index 92d69ea..6499631 100644
> --- a/rnndb/nv50_pgraph.xml
> +++ b/rnndb/nv50_pgraph.xml
> @@ -93,6 +93,9 @@
> <value value="0x23" name="XY_OUT_OF_BOUNDS"> <!-- m2mf at least. 2d too? -->
> <brief>Your x/y coords exceed the size of your surface.</brief>
> </value>
> + <value value="0x24" name="VP_NO_INPUT_MASK">
> + <brief>You tried to submit vertices without setting input mask (VP_ATTR_EN).</brief>
> + </value>
> <value value="0x27" name="CP_MORE_PARAMS_THAN_SHARED">
> <brief>You tried to launch block with more params than allocated s[] space.</brief>
> </value>
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?
Also, have you checked if that error happens on all submission methods,
or just VERTEX_DATA? I don't see why VERTEX_ELEMENT /
VERTEX_BUFFER_COUNT would have a problem with 0 inputs.
Marcin Kościelnicki
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [envytools PATCH] nv50/pgraph: DATA_ERROR 0x24
[not found] ` <4FA6CA9D.5070107-mP9o5jsk0RY@public.gmane.org>
@ 2012-05-06 19:14 ` Marcin Slusarz
[not found] ` <20120506191456.GE4311-OI9uyE9O0yo@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Marcin Slusarz @ 2012-05-06 19:14 UTC (permalink / raw)
To: Marcin Kościelnicki; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
On Sun, May 06, 2012 at 09:01:49PM +0200, Marcin Kościelnicki wrote:
> On 06.05.2012 20:51, Marcin Slusarz wrote:
> >
> > ---
> > rnndb/nv50_pgraph.xml | 3 +++
> > 1 files changed, 3 insertions(+), 0 deletions(-)
> >
> > diff --git a/rnndb/nv50_pgraph.xml b/rnndb/nv50_pgraph.xml
> > index 92d69ea..6499631 100644
> > --- a/rnndb/nv50_pgraph.xml
> > +++ b/rnndb/nv50_pgraph.xml
> > @@ -93,6 +93,9 @@
> > <value value="0x23" name="XY_OUT_OF_BOUNDS"> <!-- m2mf at least. 2d too? -->
> > <brief>Your x/y coords exceed the size of your surface.</brief>
> > </value>
> > + <value value="0x24" name="VP_NO_INPUT_MASK">
> > + <brief>You tried to submit vertices without setting input mask (VP_ATTR_EN).</brief>
> > + </value>
> > <value value="0x27" name="CP_MORE_PARAMS_THAN_SHARED">
> > <brief>You tried to launch block with more params than allocated s[] space.</brief>
> > </value>
>
> 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 methods,
> or just VERTEX_DATA? I don't see why VERTEX_ELEMENT /
> VERTEX_BUFFER_COUNT would have a problem with 0 inputs.
It definitely has problems with VERTEX_BUFFER_COUNT, only later I discovered
VERTEX_DATA have them too. I didn't check VB_ELEMENT_*, but I bet it's the same
story.
Marcin
---
From: Marcin Slusarz <marcin.slusarz@gmail.com>
Subject: [PATCH] nv50/pgraph: DATA_ERROR 0x24
---
rnndb/nv50_pgraph.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/rnndb/nv50_pgraph.xml b/rnndb/nv50_pgraph.xml
index 92d69ea..aa925fa 100644
--- a/rnndb/nv50_pgraph.xml
+++ b/rnndb/nv50_pgraph.xml
@@ -93,6 +93,9 @@
<value value="0x23" name="XY_OUT_OF_BOUNDS"> <!-- m2mf at least. 2d too? -->
<brief>Your x/y coords exceed the size of your surface.</brief>
</value>
+ <value value="0x24" name="VP_ZERO_INPUTS">
+ <brief>You tried to submit vertices with VP input mask (VP_ATTR_EN) set to 0.</brief>
+ </value>
<value value="0x27" name="CP_MORE_PARAMS_THAN_SHARED">
<brief>You tried to launch block with more params than allocated s[] space.</brief>
</value>
--
1.7.8.5
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [envytools PATCH] nv50/pgraph: DATA_ERROR 0x24
[not found] ` <20120506191456.GE4311-OI9uyE9O0yo@public.gmane.org>
@ 2012-05-06 19:18 ` Marcin Kościelnicki
0 siblings, 0 replies; 4+ messages in thread
From: Marcin Kościelnicki @ 2012-05-06 19:18 UTC (permalink / raw)
To: Marcin Slusarz; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
>> 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 methods,
>> or just VERTEX_DATA? I don't see why VERTEX_ELEMENT /
>> VERTEX_BUFFER_COUNT would have a problem with 0 inputs.
>
> It definitely has problems with VERTEX_BUFFER_COUNT, only later I discovered
> VERTEX_DATA have them too. I didn't check VB_ELEMENT_*, but I bet it's the same
> story.
>
> Marcin
>
Thanks, pushed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-06 19:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-06 18:51 [envytools PATCH] nv50/pgraph: DATA_ERROR 0x24 Marcin Slusarz
[not found] ` <20120506185103.GA4311-OI9uyE9O0yo@public.gmane.org>
2012-05-06 19:01 ` Marcin Kościelnicki
[not found] ` <4FA6CA9D.5070107-mP9o5jsk0RY@public.gmane.org>
2012-05-06 19:14 ` Marcin Slusarz
[not found] ` <20120506191456.GE4311-OI9uyE9O0yo@public.gmane.org>
2012-05-06 19:18 ` Marcin Kościelnicki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.