Displaying 20 results from an estimated 22 matches for "pdpix".
2012 Apr 20
3
[Bug 48954] New: nv25 PGRAPH error and X freeze
https://bugs.freedesktop.org/show_bug.cgi?id=48954
Bug #: 48954
Summary: nv25 PGRAPH error and X freeze
Classification: Unclassified
Product: xorg
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
2015 May 19
2
[PATCH 1/2] Check before trying a solid fill
...play.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 7c1d2bb..2ca1dba 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -410,12 +410,15 @@ drmmode_fbcon_copy(ScreenPtr pScreen)
fallback:
if (pdpix) {
- pNv->EXADriverPtr->PrepareSolid(pdpix, GXclear, ~0, 0);
- pNv->EXADriverPtr->Solid(pdpix, 0, 0, w, h);
- pNv->EXADriverPtr->DoneSolid(pdpix);
- nouveau_bo_wait(pNv->scanout, NOUVEAU_BO_RDWR, pNv->client);
+ if (exa->PrepareSolid(pdpix, GXclear, ~0, 0)) {
+ exa...
2009 Dec 11
2
[PATCH 1/2] exa: Pre-G80 tiling support.
...ine_len = w * cpp;
unsigned src_pitch = 0, linear = 0;
- if (!nouveau_exa_pixmap_is_tiled(pspix)) {
+ if (!nv50_style_tiled_pixmap(pspix)) {
linear = 1;
src_pitch = exaGetPixmapPitch(pspix);
src_offset += (y * src_pitch) + (x * cpp);
@@ -175,7 +175,7 @@ NVAccelUploadM2MF(PixmapPtr pdpix, int x, int y, int w, int h,
unsigned line_len = w * cpp;
unsigned dst_pitch = 0, linear = 0;
- if (!nouveau_exa_pixmap_is_tiled(pdpix)) {
+ if (!nv50_style_tiled_pixmap(pdpix)) {
linear = 1;
dst_pitch = exaGetPixmapPitch(pdpix);
dst_offset += (y * dst_pitch) + (x * cpp);
@@ -39...
2015 Mar 14
1
[PATCH ddx] Add support for VRAM-less devices to the ddx
...Nv, w, lines, cpp, 0, tmp_offset,
- nouveau_pixmap_bo(pspix), NOUVEAU_BO_VRAM,
+ nouveau_pixmap_bo(pspix), NOUVEAU_BO_APER,
src_pitch, pspix->drawable.height, x, y,
tmp, NOUVEAU_BO_GART, tmp_pitch,
lines, 0, 0))
@@ -361,7 +361,7 @@ nouveau_exa_upload_to_screen(PixmapPtr pdpix, int x, int y, int w, int h,
if (!NVAccelM2MF(pNv, w, lines, cpp, tmp_offset, 0, tmp,
NOUVEAU_BO_GART, tmp_pitch, lines, 0, 0,
- nouveau_pixmap_bo(pdpix), NOUVEAU_BO_VRAM,
+ nouveau_pixmap_bo(pdpix), NOUVEAU_BO_APER,
dst_pitch, pdpix->drawable.height, x, y))
goto mem...
2009 Sep 14
1
[Nouveau-cvs] xf86-video-nv: Branch 'master'
...for fbcon to be copied before continuing
>
> diff --git a/src/drmmode_display.c b/src/drmmode_display.c
> index 3010396..e152e7f 100644
> --- a/src/drmmode_display.c
> +++ b/src/drmmode_display.c
> @@ -215,6 +215,12 @@ drmmode_fbcon_copy(ScrnInfoPtr pScrn)
> exa->DoneCopy(pdpix);
> FIRE_RING (pNv->chan);
>
> + /* wait for completion before continuing, avoids seeing a momentary
> + * flash of "corruption" on occasion
> + */
> + nouveau_bo_map(pNv->scanout, NOUVEAU_BO_RDWR);
> + nouveau_bo_unmap(pNv->scanout);
> +
> pScr...
2010 Apr 20
1
[PATCH] nv30/exa : cleanup from nv40 exa
...ict, op))
NOUVEAU_FALLBACK("mask picture\n");
@@ -462,11 +418,11 @@ NV30EXAStateCompositeReemit(struct nouveau_channel *chan)
Bool
NV30EXAPrepareComposite(int op, PicturePtr psPict,
- PicturePtr pmPict,
- PicturePtr pdPict,
- PixmapPtr psPix,
- PixmapPtr pmPix,
- PixmapPtr pdPix)
+ PicturePtr pmPict,
+ PicturePtr pdPict,
+ PixmapPtr psPix,
+ PixmapPtr pmPix,
+ PixmapPtr pdPix)
{
ScrnInfoPtr pScrn = xf86Screens[psPix->drawable.pScreen->myNum];
NVPtr pNv = NVPTR(pScrn);
@@ -485,26 +441,12 @@ NV30EXAPrepareComposite(int op, PicturePtr psPict,...
2015 Mar 21
0
[PATCH] use defined method names where available
....h"
+#include "hwdefs/nv_object.xml.h"
/* subchannel assignments - graphics channel */
#define SUBC_M2MF(mthd) 0, (mthd)
diff --git a/src/nv50_exa.c b/src/nv50_exa.c
index 7b12985..221160d 100644
--- a/src/nv50_exa.c
+++ b/src/nv50_exa.c
@@ -286,9 +286,9 @@ NV50EXACopy(PixmapPtr pdpix, int srcX , int srcY,
if (!PUSH_SPACE(push, 32))
return;
- BEGIN_NV04(push, SUBC_2D(0x0110), 1);
+ BEGIN_NV04(push, SUBC_2D(NV50_GRAPH_SERIALIZE), 1);
PUSH_DATA (push, 0);
- BEGIN_NV04(push, SUBC_2D(0x088c), 1);
+ BEGIN_NV04(push, NV50_2D(BLIT_CONTROL), 1);
PUSH_DATA (push, 0);
BEGIN_N...
2016 Oct 17
1
[PATCH] exa: add GM10x acceleration support
...le, some minor comments below.
>
>
> On 10/16/2016 02:06 AM, Ilia Mirkin wrote:
>> diff --git a/src/nvc0_exa.c b/src/nvc0_exa.c
>> index 6add60b..a53dfe6 100644
>> --- a/src/nvc0_exa.c
>> +++ b/src/nvc0_exa.c
>> @@ -914,14 +914,56 @@ NVC0EXAComposite(PixmapPtr pdpix,
>> if (!PUSH_SPACE(push, 64))
>> return;
>>
>> + if (pNv->dev->chipset >= 0x110) {
>> + BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3);
>> + PUSH_DATA (push, 256);
>> + PUSH_DATA (push...
2009 Oct 31
0
[PATCH] nv/exa: fix 15/16 bits solid fill
...UVEAU_BO_WR);
BEGIN_RING(chan, rect, NV04_GDI_RECTANGLE_TEXT_COLOR_FORMAT, 1);
- OUT_RING (chan, NV04_GDI_RECTANGLE_TEXT_COLOR_FORMAT_A8R8G8B8);
+ OUT_RING (chan, fmt2);
BEGIN_RING(chan, rect, NV04_GDI_RECTANGLE_TEXT_COLOR1_A, 1);
- OUT_RING (chan, color);
+ OUT_RING (chan, fg);
pNv->pdpix = pPixmap;
pNv->alu = alu;
diff --git a/src/nv_accel_common.c b/src/nv_accel_common.c
index fa77cc3..3c8911e 100644
--- a/src/nv_accel_common.c
+++ b/src/nv_accel_common.c
@@ -117,7 +117,10 @@ NVAccelGetCtxSurf2DFormatFromPixmap(PixmapPtr pPix, int *fmt_ret)
*fmt_ret = NV04_CONTEXT_SURFACES...
2009 Oct 22
1
[PATCH] nv04-nv40/exa: Reorder the commands in PrepareCopy to match the blob.
...= GXcopy) {
+ BEGIN_RING(chan, blit, NV04_IMAGE_BLIT_OPERATION, 1);
+ OUT_RING (chan, 1); /* ROP_AND */
+ NV04EXASetROP(pScrn, alu, planemask);
+ } else {
+ BEGIN_RING(chan, blit, NV04_IMAGE_BLIT_OPERATION, 1);
+ OUT_RING (chan, 3); /* SRCCOPY */
+ }
+
pNv->pspix = pSrcPixmap;
pNv->pdpix = pDstPixmap;
pNv->alu = alu;
--
1.6.4.4
2009 Oct 15
1
[Bug 24555] New: X server crash
..._pushbuf.c:289
#4 0x00007f26b37e8376 in WAIT_RING (size=<value optimized out>, chan=0x902c50)
at /usr/include/nouveau/nouveau_pushbuf.h:79
#5 NV50EXAUploadSIFC (size=<value optimized out>, chan=0x902c50)
at nv50_exa.c:399
#6 0x00007f26b37b9675 in nouveau_exa_upload_to_screen (pdpix=0x15edfd0,
x=<value optimized out>, y=4, w=950, h=1,
src=0x182ae48
"Dq\206\377Hu\212\377Kz\217\377L{\220\377M|\222\377P\177\225\377P\201\227\377M~\224\377R\203\231\377Q\202\230\377P\201\227\377O\200\226\377O\200\226\377P\201\227\377P\201\227\377Q\202\230\377Q\203\227\377O\201\2...
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
...>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,
- PixmapPtr pSrc,
- PixmapPtr pMask,
- PixmapPtr pDst)
+Bool
+NV10EXAPrepareComposite(int op,
+ PicturePtr pict_src,
+ Picture...
2010 Jul 27
0
NV50 inifinite loop
...g 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', pSrc=0x2068830, pMask=0x0, pDst=0x2068a20, xSrc=<value optimized out>, ySrc=&...
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...t;
+#ifdef XMIR
+#include "xmir.h"
+#include "xf86Priv.h"
+#else
+typedef struct xmir_screen xmir_screen;
+#define xorgMir 0
+#endif
+
#if XF86_CRTC_VERSION >= 5
#define NOUVEAU_PIXMAP_SHARING 1
#endif
@@ -112,6 +120,8 @@ typedef struct _NVRec {
PixmapPtr pspix, pmpix, pdpix;
PicturePtr pspict, pmpict;
Pixel fg_colour;
+
+ xmir_screen *xmir;
} NVRec;
#define NVPTR(p) ((NVPtr)((p)->driverPrivate))
--
1.8.3.2
2008 Aug 31
18
[Bug 17377] New: NV50 failure on MacBook Pro.
http://bugs.freedesktop.org/show_bug.cgi?id=17377
Summary: NV50 failure on MacBook Pro.
Product: xorg
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
ReportedBy: dwmw2 at
2016 Oct 16
2
[PATCH] exa: add GM10x acceleration support
...PFP_C_A8, NV110FP_Composite_A8);
+ NVC0PushProgram(pNv, PFP_NV12, NV110FP_NV12);
}
BEGIN_NVC0(push, NVC0_3D(SP_SELECT(1)), 4);
diff --git a/src/nvc0_exa.c b/src/nvc0_exa.c
index 6add60b..a53dfe6 100644
--- a/src/nvc0_exa.c
+++ b/src/nvc0_exa.c
@@ -914,14 +914,56 @@ NVC0EXAComposite(PixmapPtr pdpix,
if (!PUSH_SPACE(push, 64))
return;
+ if (pNv->dev->chipset >= 0x110) {
+ BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3);
+ PUSH_DATA (push, 256);
+ PUSH_DATA (push, (pNv->scratch->offset + PVP_DATA) >> 32);
+ PUSH_DATA (push, (pNv->scratch->offset + PVP_DATA));
+ BEGI...
2013 Oct 15
22
[Bug 70510] New: Xorg crash on KDE init
https://bugs.freedesktop.org/show_bug.cgi?id=70510
Priority: medium
Bug ID: 70510
Assignee: nouveau at lists.freedesktop.org
Summary: Xorg crash on KDE init
QA Contact: xorg-team at lists.x.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: estellnb at elstel.org
Hardware: Other
2016 Oct 27
0
[PATCH v2 1/7] exa: add GM10x acceleration support
...PFP_C_A8, NV110FP_Composite_A8);
+ NVC0PushProgram(pNv, PFP_NV12, NV110FP_NV12);
}
BEGIN_NVC0(push, NVC0_3D(SP_SELECT(1)), 4);
diff --git a/src/nvc0_exa.c b/src/nvc0_exa.c
index 6add60b..a53dfe6 100644
--- a/src/nvc0_exa.c
+++ b/src/nvc0_exa.c
@@ -914,14 +914,56 @@ NVC0EXAComposite(PixmapPtr pdpix,
if (!PUSH_SPACE(push, 64))
return;
+ if (pNv->dev->chipset >= 0x110) {
+ BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3);
+ PUSH_DATA (push, 256);
+ PUSH_DATA (push, (pNv->scratch->offset + PVP_DATA) >> 32);
+ PUSH_DATA (push, (pNv->scratch->offset + PVP_DATA));
+ BEGI...
2016 Oct 17
0
[PATCH] exa: add GM10x acceleration support
...C0PushProgram(pNv, PFP_NV12, NV110FP_NV12);
> }
>
> BEGIN_NVC0(push, NVC0_3D(SP_SELECT(1)), 4);
> diff --git a/src/nvc0_exa.c b/src/nvc0_exa.c
> index 6add60b..a53dfe6 100644
> --- a/src/nvc0_exa.c
> +++ b/src/nvc0_exa.c
> @@ -914,14 +914,56 @@ NVC0EXAComposite(PixmapPtr pdpix,
> if (!PUSH_SPACE(push, 64))
> return;
>
> + if (pNv->dev->chipset >= 0x110) {
> + BEGIN_NVC0(push, NVC0_3D(CB_SIZE), 3);
> + PUSH_DATA (push, 256);
> + PUSH_DATA (push, (pNv->scratch->offset + PVP_DATA) >> 32);
No PUSH_DATAh in the DDX?
> +...
2015 Mar 23
40
[Bug 89730] New: NV50: LightDM GTK+ Greeter Background - inconsistent display
https://bugs.freedesktop.org/show_bug.cgi?id=89730
Bug ID: 89730
Summary: NV50: LightDM GTK+ Greeter Background - inconsistent
display
Product: xorg
Version: git
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau