Displaying 2 results from an estimated 2 matches for "setup_blend_funct".
2014 Aug 10
3
[PATCH 1/4] exa/nv10: use same clip settings as mesa driver
The higher 0x800 was getting overwritten by the 0x7ff anyways, so it
wasn't doing any good. The mesa driver just uses 0x800 for the low
portion and doesn't set the 8 bit in the higher portion, so do the same
thing here.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/nv10_exa.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nv10_exa.c
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
..., 1);
- OUT_RING (chan, rc0_in_alpha);
- BEGIN_RING(chan, celsius, NV10TCL_RC_IN_RGB(0), 1);
- OUT_RING (chan, rc0_in_rgb);
- BEGIN_RING(chan, celsius, NV10TCL_RC_COLOR(0), 2);
- OUT_RING (chan, color0);
- OUT_RING (chan, color1);
-}
-
-static void NV10SetPictOp(NVPtr pNv, int op)
+static void
+setup_blend_function(NVPtr pNv)
{
struct nouveau_channel *chan = pNv->chan;
struct nouveau_grobj *celsius = pNv->Nv3D;
- struct nv10_pictop *nv10_op = &NV10PictOp[op];
- int src_factor = nv10_op->src;
- int dst_factor = nv10_op->dst;
+ struct pict_op *op = &nv10_pict_op[pNv->alu];
+ int s...