search for: pdpict

Displaying 10 results from an estimated 10 matches for "pdpict".

Did you mean: dict
2010 May 31
1
[PATCH] nv50/exa: use dual-source blending for component-alpha composite
...{ - if (pmpict->componentAlpha && - PICT_FORMAT_RGB(pmpict->format) && - NV50EXABlendOp[op].src_alpha && - NV50EXABlendOp[op].src_blend != BF(ZERO)) - NOUVEAU_FALLBACK("component-alpha not supported\n"); - if (!NV50EXACheckTexture(pmpict, pdpict, op)) NOUVEAU_FALLBACK("mask picture invalid\n"); } @@ -874,19 +875,13 @@ NV50EXAPrepareComposite(int op, state->have_mask = TRUE; BEGIN_RING(chan, tesla, NV50TCL_FP_START_ID, 1); - if (pdpict->format == PICT_a8) { + if (pmpict->componentAlpha && PICT_FORM...
2010 Apr 20
1
[PATCH] nv30/exa : cleanup from nv40 exa
...+ NV34TCL_RT_FORMAT_ZETA_Z24S8 | + fmt->card_fmt); + OUT_RING (chan, pitch << NV34TCL_COLOR0_PITCH_ZETA_SHIFT | pitch); if (OUT_RELOCl(chan, bo, 0, NOUVEAU_BO_VRAM | NOUVEAU_BO_WR)) return FALSE; @@ -399,7 +355,7 @@ NV30EXACheckCompositeTexture(PicturePtr pPict, PicturePtr pdPict, int op) pPict->format); if (pPict->filter != PictFilterNearest && - pPict->filter != PictFilterBilinear) + pPict->filter != PictFilterBilinear) NOUVEAU_FALLBACK("filter 0x%x not supported\n", pPict->filter); if (!(w==1 && h==1) &&a...
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
2016 Oct 27
2
[PATCH v2 5/7] nvc0: refactor TIC uploads to allow different specifics per generation
...> + PUSH_DATA(push, 0x000000000); > + } > + } > +} > + > #endif > diff --git a/src/nvc0_exa.c b/src/nvc0_exa.c > index a53dfe6..017a7da 100644 > --- a/src/nvc0_exa.c > +++ b/src/nvc0_exa.c > @@ -532,20 +532,13 @@ NVC0EXACheckTexture(PicturePtr ppict, PicturePtr pdpict, int op) > static Bool > NVC0EXAPictSolid(NVPtr pNv, PicturePtr ppict, unsigned unit) > { > - uint64_t offset = pNv->scratch->offset + SOLID(unit); > struct nouveau_pushbuf *push = pNv->pushbuf; > > PUSH_DATAu(push, pNv->scratch, SOLID(unit), 1); > PUSH_...
2016 Oct 27
0
[PATCH v2 5/7] nvc0: refactor TIC uploads to allow different specifics per generation
...gt;> + } >> +} >> + >> #endif >> diff --git a/src/nvc0_exa.c b/src/nvc0_exa.c >> index a53dfe6..017a7da 100644 >> --- a/src/nvc0_exa.c >> +++ b/src/nvc0_exa.c >> @@ -532,20 +532,13 @@ NVC0EXACheckTexture(PicturePtr ppict, PicturePtr >> pdpict, int op) >> static Bool >> NVC0EXAPictSolid(NVPtr pNv, PicturePtr ppict, unsigned unit) >> { >> - uint64_t offset = pNv->scratch->offset + SOLID(unit); >> struct nouveau_pushbuf *push = pNv->pushbuf; >> >> PUSH_DATAu(push,...
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
...p = &NV10PictOp[op]; - int src_factor = nv10_op->src; - int dst_factor = nv10_op->dst; + struct pict_op *op = &nv10_pict_op[pNv->alu]; + int src_factor = op->src; + int dst_factor = op->dst; if (src_factor == SF(ONE_MINUS_DST_ALPHA) && !PICT_FORMAT_A(pNv->pdpict->format)) @@ -644,280 +567,140 @@ NV10StateCompositeReemit(struct nouveau_channel *chan) pNv->pspix, pNv->pmpix, pNv->pdpix); } -Bool NV10EXAPrepareComposite(int op, - PicturePtr pSrcPicture, - PicturePtr pMaskPicture, - PicturePtr pDstPicture, - Pixm...
2016 Oct 27
0
[PATCH v2 5/7] nvc0: refactor TIC uploads to allow different specifics per generation
...ORDS | (height - 1)); + PUSH_DATA(push, 0x000000000); + PUSH_DATA(push, 0x000000000); + } + } +} + #endif diff --git a/src/nvc0_exa.c b/src/nvc0_exa.c index a53dfe6..017a7da 100644 --- a/src/nvc0_exa.c +++ b/src/nvc0_exa.c @@ -532,20 +532,13 @@ NVC0EXACheckTexture(PicturePtr ppict, PicturePtr pdpict, int op) static Bool NVC0EXAPictSolid(NVPtr pNv, PicturePtr ppict, unsigned unit) { - uint64_t offset = pNv->scratch->offset + SOLID(unit); struct nouveau_pushbuf *push = pNv->pushbuf; PUSH_DATAu(push, pNv->scratch, SOLID(unit), 1); PUSH_DATA (push, ppict->pSourcePict->...
2015 Mar 21
0
[PATCH] use defined method names where available
...@@ -837,7 +837,7 @@ NV50EXAPrepareComposite(int op, PUSH_RESET(push); PUSH_REFN (push, pNv->scratch, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); - BEGIN_NV04(push, SUBC_2D(0x0110), 1); + BEGIN_NV04(push, SUBC_2D(NV50_GRAPH_SERIALIZE), 1); PUSH_DATA (push, 0); if (!NV50EXARenderTarget(pdpix, pdpict)) @@ -875,7 +875,7 @@ NV50EXAPrepareComposite(int op, PUSH_DATA (push, PFP_S); } - BEGIN_NV04(push, SUBC_3D(0x1334), 1); + BEGIN_NV04(push, NV50_3D(TIC_FLUSH), 1); PUSH_DATA (push, 0); BEGIN_NV04(push, NV50_3D(BIND_TIC(2)), 1); diff --git a/src/nv50_xv.c b/src/nv50_xv.c index 3ac9e44....
2010 Jul 27
0
NV50 inifinite loop
...installed the debug packages, attached gdb to the process and made it freeze again. Xorg is at 100% CPU load, I break the process inside gdb using strg+c. bt full: #0 NV50EXAPrepareComposite (op=<value optimized out>, pspict=<value optimized out>, pmpict=<value optimized out>, pdpict=<value optimized out>, pspix=0x2057530, pmpix=<value optimized out>, pdpix=0x21e4b20) at ../../src/nv50_exa.c:840 pNv = 0x1c8c690 chan = 0x1c95d80 eng2d = 0x1c825d0 tesla = 0x1c8bf10 #1 0x00007f681b209495 in exaTryDriverComposite (op=128 '\200...
2016 Oct 27
11
[PATCH v2 0/7] Add Maxwell support
I believe I've addressed all the feedback from the first time around, and also made fixes necessary for GM20x based on testing results. I believe now it should actually work for all GM10x and GM20x. Further, GP10x should be very easy to add, but without someone to actually test I didn't want to claim support for it. Ilia Mirkin (7): exa: add GM10x acceleration support hwdefs: update