Displaying 13 results from an estimated 13 matches for "ppixmap".
Did you mean:
pixmap
2009 Mar 08
4
[PATCH 1/5] nv50: implement wfb
...memcpy(&bits, src, size);
+
+ return bits;
+}
+
+static void
+nouveau_exa_wfb_write_memory_linear(void *dst, FbBits value, int size)
+{
+ memcpy(dst, &value, size);
+}
+
+#define TILE_PITCH 32
+#define TILE_HEIGHT 4
+#define SUBTILE_PITCH 8
+#define SUBTILE_HEIGHT 2
+
+#define LINEAR_PITCH (pPixmap->devKind)
+#define NUM_TILES_WIDTH (LINEAR_PITCH/TILE_PITCH)
+
+static NVPtr last_wfb_pNv = NULL;
+
+/* Note, we can only expose one read and write function, the linear versions are for internal consumption. */
+static FbBits
+nouveau_exa_wfb_read_memory(const void *src, int size)
+{
+ int i, li...
2007 May 12
7
[Bug 10927] New: segmentation fault in NVUploadToScreen, called from exaPutImage
http://bugs.freedesktop.org/show_bug.cgi?id=10927
Summary: segmentation fault in NVUploadToScreen, called from
exaPutImage
Product: xorg
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
2009 Oct 31
0
[PATCH] nv/exa: fix 15/16 bits solid fill
.../nv04_exa.c | 19 +++++++++----------
src/nv_accel_common.c | 5 ++++-
2 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/src/nv04_exa.c b/src/nv04_exa.c
index 132c9d5..1852f99 100644
--- a/src/nv04_exa.c
+++ b/src/nv04_exa.c
@@ -81,7 +81,7 @@ NV04EXAPrepareSolid(PixmapPtr pPixmap, int alu, Pixel planemask, Pixel fg)
struct nouveau_grobj *rect = pNv->NvRectangle;
struct nouveau_bo *bo = nouveau_pixmap_bo(pPixmap);
unsigned delta = nouveau_pixmap_offset(pPixmap);
- unsigned int fmt, pitch, color;
+ unsigned int fmt, pitch, fmt2 = NV04_GDI_RECTANGLE_TEXT_COLOR_FORMAT_...
2020 Jul 31
0
X.Org security advisory: July 31, 2020: Xserver
...ver.git
diff --git a/dix/pixmap.c b/dix/pixmap.c
index 1186d7dbb..5a0146bbb 100644
--- a/dix/pixmap.c
+++ b/dix/pixmap.c
@@ -116,7 +116,7 @@ AllocatePixmap(ScreenPtr pScreen, int pixDataSize)
if (pScreen->totalPixmapSize > ((size_t) - 1) - pixDataSize)
return NullPixmap;
- pPixmap = malloc(pScreen->totalPixmapSize + pixDataSize);
+ pPixmap = calloc(1, pScreen->totalPixmapSize + pixDataSize);
if (!pPixmap)
return NullPixmap;
Thanks
======
This vulnerability was discovered by Jan-Niklas Sohn working with
Trend Micro Zero Day Initiative.
--
Matthi...
2009 Mar 08
1
wfb patches
These patches are pretty much done, except for a compile warning somewhere.
The major remaining bottleneck is this line (as far as i can tell):
offset -= (unsigned long) pPixmap->devPrivate.ptr;
A significant amount of samples is spent on that, so suggestions on
how to improve that are appreciated.
I'm out of time for the moment.
I'm curious how this performs for other people (obviously with Option
"EXAPixmaps" "1").
You will need a git...
2015 Sep 11
7
[Bug 91972] New: xorg/nouveau crashes when running wine's unit tests under valgrind: EXA: malloc failed for size -262140 bytes
https://bugs.freedesktop.org/show_bug.cgi?id=91972
Bug ID: 91972
Summary: xorg/nouveau crashes when running wine's unit tests
under valgrind: EXA: malloc failed for size -262140
bytes
Product: xorg
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
2009 Dec 11
2
[PATCH 1/2] exa: Pre-G80 tiling support.
...turn TRUE;
diff --git a/src/nv_proto.h b/src/nv_proto.h
index ceddbee..ee1c8f2 100644
--- a/src/nv_proto.h
+++ b/src/nv_proto.h
@@ -61,7 +61,7 @@ void NVTakedownDma(ScrnInfoPtr pScrn);
/* in nouveau_exa.c */
Bool nouveau_exa_init(ScreenPtr pScreen);
Bool nouveau_exa_pixmap_is_onscreen(PixmapPtr pPixmap);
-bool nouveau_exa_pixmap_is_tiled(PixmapPtr ppix);
+bool nv50_style_tiled_pixmap(PixmapPtr ppix);
/* in nouveau_wfb.c */
void nouveau_wfb_setup_wrap(ReadMemoryProcPtr *, WriteMemoryProcPtr *,
diff --git a/src/nv_type.h b/src/nv_type.h
index 0c13dac..6face1f 100644
--- a/src/nv_type.h
+++ b/sr...
2012 Oct 14
8
[Bug 55980] New: X Segfault on second screen resize
https://bugs.freedesktop.org/show_bug.cgi?id=55980
Priority: medium
Bug ID: 55980
Assignee: nouveau at lists.freedesktop.org
Summary: X Segfault on second screen resize
QA Contact: xorg-team at lists.x.org
Severity: critical
Classification: Unclassified
OS: Linux (All)
Reporter: geaaru at gmail.com
2011 May 20
14
[Bug 37398] New: some applications (like wine) crash nouveau and leave it in an unworkable state
https://bugs.freedesktop.org/show_bug.cgi?id=37398
Summary: some applications (like wine) crash nouveau and leave
it in an unworkable state
Product: xorg
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component:
2009 Oct 15
1
[Bug 24555] New: X server crash
...ed out>, sync=<value optimized out>)
at exa_migration_classic.c:217
#8 0x00007f26b197c350 in exaDoMigration_mixed (pixmaps=<value optimized out>,
npixmaps=1, can_accel=<value optimized out>) at exa_migration_mixed.c:103
#9 0x00007f26b197c223 in exaMoveInPixmap_mixed (pPixmap=<value optimized out>)
at exa_migration_mixed.c:120
#10 0x00007f26b1979032 in exaFinishAccess (pDrawable=<value optimized out>,
index=0) at exa.c:421
#11 0x00007f26b1984963 in ExaCheckPolyGlyphBlt (pDrawable=0x15edfd0,
pGC=0x15e43c0, x=906, y=23, nglyph=<value optimized...
2010 Dec 16
13
[Bug 32453] New: SIGABRT caused by malloc around RegionCreate. Can only reproduce with nouveau not vesa.
...lloc.c:352
#3 0x00007ff87fbf97a6 in sYSMALLOc (av=0x7ff87feece80, bytes=15335424)
at malloc.c:3094
#4 _int_malloc (av=0x7ff87feece80, bytes=15335424) at malloc.c:4747
#5 0x00007ff87fbfbc69 in __libc_malloc (bytes=15335424) at malloc.c:3661
#6 0x00007ff87d146ef4 in exaPrepareAccessReg_mixed (pPixmap=0x1aef1a0,
index=1, pReg=0x0) at exa_migration_mixed.c:203
#7 0x00007ff87d143602 in exaChangeWindowAttributes (pWin=0x1ad5dc0, mask=1)
at exa.c:652
#8 0x00000000005602d7 in compChangeWindowAttributes (pWin=0x1ad5dc0, mask=1)
at compinit.c:114
#9 0x0000000000436c4d in ChangeWindowAtt...
2007 May 30
0
[PATCH] added comments
...src_w
+ * @param src_h
+ * @param drw_w
+ * @param drw_h
+ * @param clipBoxes
+ */
static void
NVPutOverlayImage(ScrnInfoPtr pScrnInfo, int offset, int id,
int dstPitch, BoxPtr dstBox,
@@ -358,6 +441,30 @@ extern Bool exaPixmapIsOffscreen(PixmapPtr p);
extern void exaMoveInPixmap(PixmapPtr pPixmap);
#endif
+/**
+ * NVPutBlitImage
+ * uses the DMA controller of the GPU to blit
+ * (block transfer) image from an offscreen buffer into
+ * the color buffer
+ *
+ * @param pScrnInfo screen
+ * @param src_offset
+ * @param id colorspace of image
+ * @param src_pitch
+ * @param dstBox
+ * @param...
2010 Mar 09
72
[Bug 26980] New: GT230M/nouveau: X server hangs spontaneously
http://bugs.freedesktop.org/show_bug.cgi?id=26980
Summary: GT230M/nouveau: X server hangs spontaneously
Product: xorg
Version: 7.5
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org