search for: nouveau_pushbuf_flush

Displaying 16 results from an estimated 16 matches for "nouveau_pushbuf_flush".

2011 Jun 06
1
[Bug 38016] New: nouveau driver crashes xorg when starting KDE
...rn+0x0) [0xffffe40c] 3: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0xb7361000+0x1f14f) [0xb738014f] 4: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0xb7361000+0x2003a) [0xb738103a] 5: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0xb7361000+0x2010c) [0xb738110c] 6: /usr/lib/libdrm_nouveau.so.1 (nouveau_pushbuf_flush+0x1e4) [0xb77f8164] 7: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0xb7361000+0x1efea) [0xb737ffea] 8: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0xb7361000+0x2003a) [0xb738103a] 9: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0xb7361000+0x2010c) [0xb738110c] 10: /usr/lib/libdrm_nouveau.so.1...
2009 Dec 04
3
[PATCH] nouveau: avoid running out of relocs
...5..28f483f 100644 --- a/src/gallium/drivers/nouveau/nouveau_stateobj.h +++ b/src/gallium/drivers/nouveau/nouveau_stateobj.h @@ -113,8 +113,10 @@ so_emit(struct nouveau_channel *chan, struct nouveau_stateobj *so) unsigned nr, i; nr = so->cur - so->push; - if (pb->remaining < nr) - nouveau_pushbuf_flush(chan, nr); + /* This will flush if we need space. + * We don't actually need the marker. + */ + nouveau_pushbuf_marker_emit(chan, nr, so->cur_reloc); pb->remaining -= nr; memcpy(pb->cur, so->push, nr * 4); @@ -138,8 +140,10 @@ so_emit_reloc_markers(struct nouveau_channel *ch...
2010 Jan 29
2
[PATCH 1/2] libdrm/nouveau: new optimized libdrm pushbuffer ABI
...@@ nouveau_pushbuf_init(struct nouveau_channel *chan) sizeof(struct drm_nouveau_gem_pushbuf_bo)); nvpb->relocs = calloc(NOUVEAU_GEM_MAX_RELOCS, sizeof(struct drm_nouveau_gem_pushbuf_reloc)); - - chan->pushbuf = &nvpb->base; return 0; } @@ -189,16 +187,14 @@ nouveau_pushbuf_flush(struct nouveau_channel *chan, unsigned min) unsigned i; int ret; - if (nvpb->base.remaining == nvpb->size) + if (chan->cur == nvpb->pushbuf) return 0; if (nvpb->use_cal) { struct drm_nouveau_gem_pushbuf_call req; - *(nvpb->base.cur++) = nvpb->cal_suffix0; -...
2013 Apr 30
1
[Bug 64074] New: Mesalib Installation Error
...chiers suivant : ------------- nouveau_pushbhf.h------------- #ifndef __NOUVEAU_PUSHBUF_H__ #define __NOUVEAU_PUSHBUF_H__ #include <assert.h> #include <string.h> #include "nouveau/nouveau_channel.h" #include "nouveau_bo.h" #include "nouveau_grobj.h" int nouveau_pushbuf_flush(struct nouveau_channel *, unsigned min); int nouveau_pushbuf_marker_emit(struct nouveau_channel *chan, unsigned wait_dwords, unsigned wait_relocs); void nouveau_pushbuf_marker_undo(struct nouveau_channel *chan); int nouveau_pushbuf_emit_reloc(struct nouveau_channel *, void *ptr, str...
2009 Oct 15
1
[Bug 24555] New: X server crash
...<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x0000003a95e34d55 in abort () at abort.c:92 #2 0x0000003a95e2c655 in __assert_fail (assertion=0x7f26b358288a "ret == 0", file=<value optimized out>, line=289, function=0x7f26b3582910 "nouveau_pushbuf_flush") at assert.c:81 #3 0x00007f26b35810d1 in nouveau_pushbuf_flush (chan=0x902c50, min=951) at nouveau_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 op...
2009 Dec 13
3
[PATCH] nouveau: avoid running out of relocs (attempt 5)
....h +++ b/src/gallium/drivers/nouveau/nouveau_stateobj.h @@ -112,19 +112,29 @@ so_emit(struct nouveau_channel *chan, struct nouveau_stateobj *so) { struct nouveau_pushbuf *pb = chan->pushbuf; unsigned nr, i; + int ret = 0; nr = so->cur - so->push; - if (pb->remaining < nr) - nouveau_pushbuf_flush(chan, nr); + /* This will flush if we need space. + * We don't actually need the marker. + */ + if ((ret = nouveau_pushbuf_marker_emit(chan, nr, so->cur_reloc))) { + debug_printf("so_emit failed marker emit with error %d\n", ret); + return; + } pb->remaining -= nr; mem...
2009 Dec 05
1
[PATCH] nouveau: avoid running out of relocs (attempt 4)
....h +++ b/src/gallium/drivers/nouveau/nouveau_stateobj.h @@ -111,19 +111,28 @@ so_emit(struct nouveau_channel *chan, struct nouveau_stateobj *so) { struct nouveau_pushbuf *pb = chan->pushbuf; unsigned nr, i; + int ret = 0; nr = so->cur - so->push; - if (pb->remaining < nr) - nouveau_pushbuf_flush(chan, nr); + /* This will flush if we need space. + * We don't actually need the marker. + */ + if ((ret = nouveau_pushbuf_marker_emit(chan, nr, so->cur_reloc))) { + debug_printf("so_emit failed marker emit with error %d\n", ret); + return; + } pb->remaining -= nr; mem...
2009 Dec 05
0
[PATCH] nouveau: avoid running out of relocs (attempt 3)
...+ *push += so->cur - so->push; + *reloc += so->cur_reloc; +} + +static INLINE void so_emit(struct nouveau_channel *chan, struct nouveau_stateobj *so) { struct nouveau_pushbuf *pb = chan->pushbuf; unsigned nr, i; nr = so->cur - so->push; - if (pb->remaining < nr) - nouveau_pushbuf_flush(chan, nr); + if (pb->remaining < nr) { + debug_printf("so_emit ran out of space\n"); + return; + } pb->remaining -= nr; memcpy(pb->cur, so->push, nr * 4); for (i = 0; i < so->cur_reloc; i++) { struct nouveau_stateobj_reloc *r = &so->reloc[i]; + in...
2013 Apr 29
2
[Bug 64042] New: Mesalib Installation Error
...Product: Mesa hello, I get the code source of Mesalib 7.11 and i configure this code export NOUVEAU_CFLAGS="-I/usr/include/drm/" export NOUVEAU_LIBS="-L/usr/local/lib/" ./confgure when i run make i get this errors : nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_pushbuf_flush' nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_bo_pending' nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_pushbuf_marker_undo' nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_grobj_autobind' nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_p...
2012 Mar 14
13
[Bug 47306] New: segfault in nouveau_fence_update
..._fence_update (screen=0x0, flushed=1 '\001') at nouveau_fence.c:141 fence = <optimized out> next = 0x0 sequence = <optimized out> #1 0xaae1ec77 in nv50_default_flush_notify (chan=0x8f29af0) at nv50_context.c:68 nv50 = 0xa8248c68 #2 0xad19ff50 in nouveau_pushbuf_flush () from /usr/lib/i386-linux-gnu/libdrm_nouveau.so.1 No symbol table info available. #3 0xaae1ec0e in FIRE_RING (chan=<optimized out>) at /usr/include/nouveau/nouveau_pushbuf.h:101 No locals. #4 nv50_flush (pipe=0x8f53028, fence=0x0) at nv50_context.c:46 screen = 0x8f29810 #5 0xaa97...
2011 Feb 10
2
[Bug 34139] New: Seemingly random GUI lock-ups
...c49fda59b in drmCommandWrite () from /usr/lib/libdrm.so.2 #5 0x00007fcc4999aead in ?? () from /usr/lib/libdrm_nouveau.so.1 #6 0x00007fcc4999b4ce in nouveau_bo_map_range () from /usr/lib/libdrm_nouveau.so.1 #7 0x00007fcc49999f3d in ?? () from /usr/lib/libdrm_nouveau.so.1 #8 0x00007fcc4999a53f in nouveau_pushbuf_flush () from /usr/lib/libdrm_nouveau.so.1 #9 0x00007fcc49566165 in exaFillRegionSolid (pDrawable=0x1d58f20, pRegion=0x17d8f40, pixel=0, planemask=4294967295, alu=3, clientClipType=<value optimized out>) at exa_accel.c:1038 #10 0x00007fcc49568d31 in exaPolyFillRect (pDrawable=0x1d58f20, pGC=0x...
2012 Nov 19
7
[Bug 57278] New: [xf86-video-nouveau] flightgear crash when loading scenary
https://bugs.freedesktop.org/show_bug.cgi?id=57278 Priority: medium Bug ID: 57278 Assignee: nouveau at lists.freedesktop.org Summary: [xf86-video-nouveau] flightgear crash when loading scenary Severity: critical Classification: Unclassified OS: Linux (All) Reporter: king.infet at gmail.com
2009 Oct 07
8
[Bug 24370] New: nouveau and xorg-server-1.7 does not work without NoAccel
http://bugs.freedesktop.org/show_bug.cgi?id=24370 Summary: nouveau and xorg-server-1.7 does not work without NoAccel Product: xorg Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at
2010 Jan 24
21
[Bug 26193] New: nouveau falls back to NoAccel on 9400M
http://bugs.freedesktop.org/show_bug.cgi?id=26193 Summary: nouveau falls back to NoAccel on 9400M 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: bjt23
2010 Mar 09
72
[Bug 26980] New: GT230M/nouveau: X server hangs spontaneously
...mmandWrite+0x1b) [0x3eb3e0360b] 10: /usr/lib64/libdrm_nouveau.so.1 (0x7feb9fe68000+0x2f1d) [0x7feb9fe6af1d] 11: /usr/lib64/libdrm_nouveau.so.1 (nouveau_bo_map_range+0xfc) [0x7feb9fe6b11c] 12: /usr/lib64/libdrm_nouveau.so.1 (0x7feb9fe68000+0x2106) [0x7feb9fe6a106] 13: /usr/lib64/libdrm_nouveau.so.1 (nouveau_pushbuf_flush+0x29c) [0x7feb9fe6a49c] 14: /usr/lib64/xorg/modules/libexa.so (0x7feb9dc89000+0x90e1) [0x7feb9dc920e1] 15: /usr/lib64/xorg/modules/libexa.so (0x7feb9dc89000+0x939d) [0x7feb9dc9239d] 16: /usr/bin/X (miCopyRegion+0x28d) [0x545e5d] 17: /usr/bin/X (miDoCopy+0x44a) [0x54636a] 18: /usr/lib64/xorg/modules...
2009 Dec 30
4
[PATCH 1/3] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
- This avoids problematic "reloc'ed while mapped" messages and some associated corruption as well. Signed-off-by: Maarten Maathuis <madman2003 at gmail.com> --- src/gallium/drivers/nouveau/nouveau_screen.c | 21 +++++++++++++++++++++ src/gallium/drivers/nouveau/nouveau_screen.h | 3 +++ src/gallium/drivers/nouveau/nouveau_stateobj.h | 13 +++++++++++++