Displaying 20 results from an estimated 28 matches for "min2".
Did you mean:
  min
  
2015 Oct 10
3
[PATCH] nv50, nvc0: don't base decisions on available pushbuf space
...USH_DATA (push, (b << 12) | (i << 8) | p | 1);
             }
             while (words) {
-               unsigned nr;
-
-               if (!PUSH_SPACE(push, 16))
-                  break;
-               nr = PUSH_AVAIL(push);
-               assert(nr >= 16);
-               nr = MIN2(MIN2(nr - 3, words), NV04_PFIFO_MAX_PACKET_LEN);
+               unsigned nr = MIN2(words, NV04_PFIFO_MAX_PACKET_LEN);
 
+               PUSH_SPACE(push, nr + 3);
                BEGIN_NV04(push, NV50_3D(CB_ADDR), 1);
                PUSH_DATA (push, (start << 8) | b);
                BEGIN_N...
2015 Oct 10
2
[PATCH] nv50, nvc0: don't base decisions on available pushbuf space
...>>               while (words) {
>> -               unsigned nr;
>> -
>> -               if (!PUSH_SPACE(push, 16))
>> -                  break;
>> -               nr = PUSH_AVAIL(push);
>> -               assert(nr >= 16);
>> -               nr = MIN2(MIN2(nr - 3, words), NV04_PFIFO_MAX_PACKET_LEN);
>> +               unsigned nr = MIN2(words, NV04_PFIFO_MAX_PACKET_LEN);
>>   +               PUSH_SPACE(push, nr + 3);
>
>
> This PUSH_SPACE call doesn't seem to be needed for me because
> NV50_PUSH_EXPLICIT_SPACE_CHECKIN...
2009 Dec 28
2
Modified R Code
Dear R helpers,
 
I have following input files. (Actually they are more than 10 rates but here i am considering only 2 rates to write my problem)
 
rate1.csv
min1        max1            min2          max2          min3           max3
1.05        1.30               1.30          1.65             1.65          1.99
 
rate2.csv
min1        max1            min2          max2          min3           max3
2.05        2.30               2.30          2.65             2.65          2.99
   
 ...
2012 Jun 11
1
[PATCH 10/21] nouveau: Add support for ARB_sampler_object
...(!nouveau_texture_validate(ctx, t))
@@ -74,26 +76,26 @@ nv04_emit_tex_obj(struct gl_context *ctx, int emit)
 
 		s = &to_nouveau_texture(t)->surfaces[t->BaseLevel];
 
-		if (t->Sampler.MinFilter != GL_NEAREST &&
-		    t->Sampler.MinFilter != GL_LINEAR) {
-			lod_max = CLAMP(MIN2(t->Sampler.MaxLod, t->_MaxLambda),
+		if (sa->MinFilter != GL_NEAREST &&
+		    sa->MinFilter != GL_LINEAR) {
+			lod_max = CLAMP(MIN2(sa->MaxLod, t->_MaxLambda),
 					0, 15) + 1;
 
 			lod_bias = CLAMP(ctx->Texture.Unit[i].LodBias +
-					 t->Sampler.LodBias, -16,...
2013 Aug 14
6
[Bug 68126] New: drm Nouveau fails compile
https://bugs.freedesktop.org/show_bug.cgi?id=68126
          Priority: medium
            Bug ID: 68126
          Assignee: nouveau at lists.freedesktop.org
           Summary: drm Nouveau fails compile
          Severity: major
    Classification: Unclassified
                OS: Linux (All)
          Reporter: grey3050 at hotmail.com
          Hardware: All
            Status: NEW
          
2002 Aug 13
1
another printing question
...inters
	path = /var/spool/samba
	printer admin = tony
	guest ok = Yes
	printable = Yes
	use client driver = Yes
	browseable = No
[HP4000N]
	path = /var/spool/samba
	printer admin = tony
	read only = No
	guest ok = Yes
	printable = Yes
	printer name = HP4000N
	use client driver = Yes
	oplocks = No
[min2]
	path = /var/spool/samba
	printer admin = tony
	guest ok = Yes
	printable = Yes
	printer name = Min2
	use client driver = Yes
[HP2000C]
	path = /var/spool/samba
	printer admin = tony
	guest ok = Yes
	printable = Yes
	postscript = Yes
	printer name = HP2000C
	use client driver = Yes
Any direction...
2010 Jan 18
1
[PATCH 1/2] nv30-nv40: Rewrite primitive splitting and emission
...im, &start)))
+	{
+		uint8_t* elts = (uint8_t*)ib + start;
 		if (vc & 1) {
 			BEGIN_RING(chan, rankine, NV34TCL_VB_ELEMENT_U32, 1);
 			OUT_RING  (chan, elts[0]);
@@ -259,8 +346,7 @@ nv30_draw_elements_u08(struct nv30_context *nv30, void *ib,
 
 		while (vc) {
 			unsigned i;
-
-			push = MIN2(vc, 2047 * 2);
+			unsigned push = MIN2(vc, 2047 * 2);
 
 			BEGIN_RING_NI(chan, rankine, NV34TCL_VB_ELEMENT_U16, push >> 1);
 			for (i = 0; i < push; i+=2)
@@ -269,11 +355,6 @@ nv30_draw_elements_u08(struct nv30_context *nv30, void *ib,
 			vc -= push;
 			elts += push;
 		}
-
-		BEGIN_R...
2005 Nov 24
0
htb thingy
...|1:102|...  |1:130|      |1:204|  ...     |1:228|
#       +-----+     +-----+      +-----+          +-----+
#
so here goes how i build the tree
#first some variables
dev=eth0
total=512
#for first class i define the limits-i have ten users in this
min1=16
max1=$[$min1*10]
#second class-12 users
min2=24
max2=$[$min2*12]
#what''s left of the bandwidth i put into the local upload class
local=$[$total-$max1-$max2]
#the root
tc qdisc add dev $dev root handle 1: htb default 101 r2q 1
#i fixed r2q to 1 because of the warnings i could get from too low/high 
#quantums.
#the main class
tc clas...
2014 Feb 04
2
[PATCH 1/3] nv50: rework primid logic
Functionally identical but much simpler. Should also better integrate
with 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
2009 Oct 14
0
[PATCH 3/7] nv50: submit user vbo data through the fifo
...start, unsigned count)
+{
+	struct nouveau_channel *chan = nv50->screen->base.channel;
+	struct nouveau_grobj *tesla = nv50->screen->tesla;
+	struct nv50_vbo_emitctx emit;
+
+	if (emit_prepare(nv50, &emit, start) == FALSE)
+		return FALSE;
+
+	while (count) {
+		unsigned i, dw, nr = MIN2(count, emit.vtx_max);
+	        dw = nr * emit.vtx_dwords;
+
+		BEGIN_RING(chan, tesla, NV50TCL_VERTEX_DATA | 0x40000000, dw);
+		for (i = 0; i < nr; ++i)
+			emit_vtx_next(chan, &emit);
+
+		count -= nr;
+	}
+	nv50_unmap_vbufs(nv50);
+
+	return TRUE;
+}
+
+static boolean
+nv50_push_elements...
2014 Jan 15
3
[PATCH] nv50, nvc0: don't crash on a null cbuf
...0_surface *sf;
+      struct nouveau_bo *bo;
+
+      /* Do we need to clear the old RT settings? */
+      if (!fb->cbufs[i])
+         continue;
+
+      mt = nv50_miptree(fb->cbufs[i]->texture);
+      sf = nv50_surface(fb->cbufs[i]);
+      bo = mt->base.bo;
 
       array_size = MIN2(array_size, sf->depth);
       if (mt->layout_3d)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c b/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
index 0ba4bad..9059d76 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
+++ b/src/gallium/drivers/n...
2014 Jan 23
2
[PATCH v2] nv50, nvc0: clear out RT on a null cbuf
...> +      if (!fb->cbufs[i]) {
> +         nv50_fb_set_null_rt(push, i);
> +         continue;
> +      }
> +
> +      mt = nv50_miptree(fb->cbufs[i]->texture);
> +      sf = nv50_surface(fb->cbufs[i]);
> +      bo = mt->base.bo;
>  
>        array_size = MIN2(array_size, sf->depth);
>        if (mt->layout_3d)
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c b/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
> index 0ba4bad..dd71c65 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
> ++...
2009 Sep 12
0
[PATCH 11/13] nv50: add support for light-twoside
...t;Semantic.SemanticIndex;
 				switch (d->Semantic.SemanticName) {
+				case TGSI_SEMANTIC_BCOLOR:
+					p->cfg.two_side[si].hw_id = first;
+					if (p->cfg.io_nr > first)
+						p->cfg.io_nr = first;
+					break;
 					/*
 				case TGSI_SEMANTIC_CLIP_DISTANCE:
 					p->cfg.clpd = MIN2(p->cfg.clpd, first);
@@ -2125,6 +2130,11 @@ nv50_program_tx_prep(struct nv50_pc *pc)
 				p->cfg.io[i].mask |= 1 << c;
 			}
 		}
+
+		for (c = 0; c < 2; ++c)
+			if (p->cfg.two_side[c].hw_id < 0x40)
+				p->cfg.two_side[c] = p->cfg.io[
+					p->cfg.two_side[c].hw_id];...
2008 Jan 05
0
Help With WRR
Could anyone explain what is WRR param2 [wmode2 , incr2 , decr2 , min2] for ?
can i set just the param1 ? [wmode1 , incr1 , decr1,min1]
-- 
[]''s
Salatiel
"O maior prazer do inteligente é bancar o  idiota
   diante de um  idiota que banca o inteligente".
2005 Oct 26
0
Explenation of WRR parameters
Guys
Oppologies for the cross post.
I''ve been scouring the docs coming with the wrr patches and for the
life of me I can''t figure out why there are 8 parameters for each
class.
<snip>
  weight1, min1, decr1, incr1,
  weight2, min2, decr2, incr2
</snip>
According to the docs these parameters are handled the same way, but
looking at the example scripts there are different values for these.
I had a look at the formulas, and have gotten my own set of reasonable
values, based on the calculations, but do I place the same...
2004 Jan 19
0
problem with wrr+prio
...EV wrr qdisc \
      wmode1=3 wmode2=0
   declare -i NUM=$WRR_MAX_CLASSES;
   while [ $NUM -ge 1 ]; do
      HNUM=$(printf %X $NUM)
      tc class change classid 8001:$HNUM dev $DEV \
         wrr min1=0.5 max1=1.0 decr1=0.0000000254 \
                incr1=0.00083333333 weight1=1.0 \
             min2=0.1 max2=1.0 decr2=0 incr2=0 weight2=1.0
      NUM=$NUM-1
   done
}
shape $IFACE_IN dest
shape $IFACE_OUT sour
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
2014 Jan 17
0
[PATCH v2] nv50, nvc0: clear out RT on a null cbuf
...nv50_surface *sf;
+      struct nouveau_bo *bo;
+
+      if (!fb->cbufs[i]) {
+         nv50_fb_set_null_rt(push, i);
+         continue;
+      }
+
+      mt = nv50_miptree(fb->cbufs[i]->texture);
+      sf = nv50_surface(fb->cbufs[i]);
+      bo = mt->base.bo;
 
       array_size = MIN2(array_size, sf->depth);
       if (mt->layout_3d)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c b/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
index 0ba4bad..dd71c65 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
+++ b/src/gallium/drivers/n...
2014 Jan 23
0
[PATCH v2] nv50, nvc0: clear out RT on a null cbuf
...{
>> +         nv50_fb_set_null_rt(push, i);
>> +         continue;
>> +      }
>> +
>> +      mt = nv50_miptree(fb->cbufs[i]->texture);
>> +      sf = nv50_surface(fb->cbufs[i]);
>> +      bo = mt->base.bo;
>>
>>        array_size = MIN2(array_size, sf->depth);
>>        if (mt->layout_3d)
>> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c b/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
>> index 0ba4bad..dd71c65 100644
>> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_state_va...
2012 Nov 03
7
some help
Hi People!
I have following concern consisting of some steps to do in R: 
I have an ascii file (table) consisting of many columns and rows. 
1. I would like to order all values of the columns one under each other. It
will begin with column 1, then column 2 under column 1, column 3 under
column 2 etc. until at the end there is only 1 column. How do I do it?
2. Second problem is to make a
2009 Dec 30
4
[PATCH 1/3] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
- This avoids problematic "reloc'ed while mapped" messages and
some associated corruption as well.
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 +++++++++++++