Displaying 6 results from an estimated 6 matches for "nvacceluploadm2mf".
2009 Dec 26
5
[Bug 25802] New: nouveau driver crashes in exa
...ment.cgi?id=32305)
output of dmesg| grep nouveau
The nouveau driver crashes somwhere while doing EXA stuff ( I can reproduce it
by opening the noscript menu in firefox or using thunderbird for some time..)
gdb gave me this output:
Program received signal SIGSEGV, Segmentation fault.
0xb730ae4e in NVAccelUploadM2MF ()
from /usr/lib/xorg/modules/drivers/nouveau_drv.so
(gdb) bt
#0 0xb730ae4e in NVAccelUploadM2MF ()
from /usr/lib/xorg/modules/drivers/nouveau_drv.so
#1 0xb730b46e in nouveau_exa_upload_to_screen ()
from /usr/lib/xorg/modules/drivers/nouveau_drv.so
#2 0xb60fe1ae in exaHWCopyNtoN () from...
2009 Jul 10
1
Can't build xf86-video-nouveau
...usr/include/drm -I/usr/include/X11/dri -MT nouveau_exa.lo -MD -MP -MF .deps/nouveau_exa.Tpo -c nouveau_exa.c -fPIC -DPIC -o .libs/nouveau_exa.o
nouveau_exa.c: In function ?NVAccelDownloadM2MF?:
nouveau_exa.c:92: error: ?struct nouveau_bo? has no member named ?tile_mode?
nouveau_exa.c: In function ?NVAccelUploadM2MF?:
nouveau_exa.c:213: error: ?struct nouveau_bo? has no member named ?tile_mode?
nouveau_exa.c: In function ?nouveau_exa_mph_broken_should_die?:
nouveau_exa.c:441: warning: implicit declaration of function ?nouveau_bo_new_tile?
nouveau_exa.c: In function ?nouveau_exa_pixmap_is_tiled?:
nouveau_exa.c:...
2009 Dec 11
2
[PATCH 1/2] exa: Pre-G80 tiling support.
..., int w, int h,
unsigned line_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) + (...
2009 Jun 10
1
Compilation error in nouveau_exa.c
...nouveau_hw.h: In function 'NVRead':
> nouveau_hw.h:43: warning: value computed is not used
> nouveau_exa.c: In function 'NVAccelDownloadM2MF':
> nouveau_exa.c:92: error: 'struct nouveau_bo' has no member named 'tile_mode'
> nouveau_exa.c: In function 'NVAccelUploadM2MF':
> nouveau_exa.c:213: error: 'struct nouveau_bo' has no member named 'tile_mode'
> nouveau_exa.c: In function 'nouveau_exa_mph_broken_should_die':
> nouveau_exa.c:441: warning: implicit declaration of function 'nouveau_bo_new_tile'
> nouveau_exa.c: I...
2009 Sep 22
7
[Bug 24092] New: X with nouveau hangs in nouveau_bo_map_range when doing anything
...ultiple times, the last few functions are
always the same:
ioctl()
drmIoctl()
drmCommandWrite()
nouveau_bo_wait() (was "?? ()" before i compiled everything with -ggdb, but
probably same)
nouveau_bo_map_range()
Right next in the stack trace after these, i have seen NVAccelDownloadM2MF and
NVAccelUploadM2MF thus far. (again before recompile with -ggdb, it was always
"?? ()", so i might've missed some callers, but probably mostly the same
functions)
If i step the code one instruction at a time with 'stepi', the execution loops
these:
ioctl () from /lib/libc.so.6
0x7fc4c3af5127 &...
2009 Mar 08
4
[PATCH 1/5] nv50: implement wfb
...ppix)
{
+ ScrnInfoPtr pScrn = xf86Screens[ppix->drawable.pScreen->myNum];
+ NVPtr pNv = NVPTR(pScrn);
struct nouveau_bo *bo = nouveau_pixmap_bo(ppix);
- if (bo->tiled) {
+ if (!pNv->wfb_enabled && bo->tiled) {
struct nouveau_pixmap *nvpix = nouveau_pixmap(ppix);
NVAccelUploadM2MF(ppix, 0, 0, ppix->drawable.width,
@@ -674,3 +684,194 @@ nouveau_exa_init(ScreenPtr pScreen)
pNv->EXADriverPtr = exa;
return TRUE;
}
+
+/* WFB functions. */
+
+static FbBits
+nouveau_exa_wfb_read_memory_linear(const void *src, int size)
+{
+ FbBits bits = 0;
+
+ memcpy(&bits, src, siz...