search for: nouveau_bo_map_range

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

2009 Sep 22
7
[Bug 24092] New: X with nouveau hangs in nouveau_bo_map_range when doing anything
http://bugs.freedesktop.org/show_bug.cgi?id=24092 Summary: X with nouveau hangs in nouveau_bo_map_range when doing anything Product: xorg Version: unspecified Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: Driver/nouveau AssignedTo: nou...
2009 Dec 24
1
[PATCH] nouveau: when nouveau_bo_map fails you expect it to not be mapped
...that people fix their code. --- nouveau/nouveau_bo.c | 23 ++++++++++++++++------- 1 files changed, 16 insertions(+), 7 deletions(-) diff --git a/nouveau/nouveau_bo.c b/nouveau/nouveau_bo.c index 10cc8a6..9a7c368 100644 --- a/nouveau/nouveau_bo.c +++ b/nouveau/nouveau_bo.c @@ -415,22 +415,28 @@ nouveau_bo_map_range(struct nouveau_bo *bo, uint32_t delta, uint32_t size, uint32_t flags) { struct nouveau_bo_priv *nvbo = nouveau_bo(bo); - int ret; + int ret = 0; - if (!nvbo || bo->map) + if (!nvbo) return -EINVAL; + /* People should not double map, let's make sure they will notice. */ + if...
2012 Apr 09
1
[Bug 48454] New: Xorg hang and have to kill X from ssh
...7] 8: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmIoctl+0x28) [0x7f00ff00ca68] 9: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmCommandWrite+0x1b) [0x7f00ff00ed5b] 10: /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.1 (0x7f00fe9bd000+0x3197) [0x7f00fe9c0197] 11: /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.1 (nouveau_bo_map_range+0x109) [0x7f00fe9c07b9] 12: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0x7f00febc3000+0x7b23) [0x7f00febcab23] 13: /usr/lib/xorg/modules/libexa.so (0x7f00fe582000+0x4c47) [0x7f00fe586c47] 14: /usr/lib/xorg/modules/libexa.so (0x7f00fe582000+0x82fb) [0x7f00fe58a2fb] 15: /usr/lib/xorg/modules/libex...
2010 Jan 17
0
[PATCH] libdrm/nouveau: Support nested bo mapping
...rm. --- nouveau/nouveau_bo.c | 8 +++++++- nouveau/nouveau_private.h | 1 + 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/nouveau/nouveau_bo.c b/nouveau/nouveau_bo.c index 10cc8a6..c1a9843 100644 --- a/nouveau/nouveau_bo.c +++ b/nouveau/nouveau_bo.c @@ -417,9 +417,12 @@ nouveau_bo_map_range(struct nouveau_bo *bo, uint32_t delta, uint32_t size, struct nouveau_bo_priv *nvbo = nouveau_bo(bo); int ret; - if (!nvbo || bo->map) + if (!nvbo) return -EINVAL; + if(nvbo->map_count++) + return 0; + if (!nouveau_bo_allocated(nvbo)) { if (nvbo->flags & (NOUVEAU_BO_VRA...
2012 Mar 13
17
[Bug 47288] New: System hangs with GeForce 6150SE nForce 430
...c.so.6 (ioctl+0x14) [0xb73e7114] [ 771.457] 10: /usr/lib/libdrm.so.2 (drmIoctl+0x34) [0xb7198f04] [ 771.457] 11: /usr/lib/libdrm.so.2 (drmCommandWrite+0x3c) [0xb719ba9c] [ 771.457] 12: /usr/lib/libdrm_nouveau.so.1 (0xb777c000+0x2dff) [0xb777edff] [ 771.457] 13: /usr/lib/libdrm_nouveau.so.1 (nouveau_bo_map_range+0x10a) [0xb777f4ea] [ 771.457] 14: /usr/lib/libdrm_nouveau.so.1 (nouveau_bo_map+0x32) [0xb777f5e2] [ 771.457] 15: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0xb7159000+0x5497) [0xb715e497] [ 771.457] 16: /usr/lib/xorg/modules/libexa.so (0xb7114000+0xbe93) [0xb711fe93] [ 771.457] 17: /usr...
2009 Dec 20
2
[PATCH 1/2] nv50: don't emit reloc markers after a referenced vtxbuf is mapped
...s = nouveau_screen_map_flags(usage); int ret; + if (nscreen->pre_pipebuffer_map_callback) { + ret = nscreen->pre_pipebuffer_map_callback(pscreen, pb, usage); + if (ret) { + debug_printf("pre_pipebuffer_map_callback failed %d\n", + ret); + return NULL; + } + } + ret = nouveau_bo_map_range(bo, offset, length, flags); if (ret) { + nouveau_bo_unmap(bo); if (!(flags & NOUVEAU_BO_NOWAIT) || ret != -EBUSY) debug_printf("map_range failed: %d\n", ret); return NULL; diff --git a/src/gallium/drivers/nouveau/nouveau_screen.h b/src/gallium/drivers/nouveau/nouveau_scre...
2011 Feb 10
2
[Bug 34139] New: Seemingly random GUI lock-ups
...> #2 0x00007fcc49fd7a28 in ioctl at plt () from /usr/lib/libdrm.so.2 #3 0x00007fcc49fd8268 in drmIoctl () from /usr/lib/libdrm.so.2 #4 0x00007fcc49fda59b 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=429496...
2010 May 30
8
[Bug 28320] New: Xserver hangs in an infinite loop
https://bugs.freedesktop.org/show_bug.cgi?id=28320 Summary: Xserver hangs in an infinite loop Product: xorg Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: major Priority: high Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org
2009 Aug 02
9
[Bug 23086] New: TNT2 doesn't start with current nouveau
...ba3ff] 3: /usr/X11R7/lib/xorg/modules/input/evdev_drv.so [0xb5ea12f2] 4: /usr/X11/bin/X [0x80b002b] 5: /usr/X11/bin/X [0x815b742] 6: [0xffffe400] 7: /usr/X11R7/lib/libdrm.so.2(drmCommandWrite+0x35) [0xb7afbaa5] 8: /usr/X11R7/lib/libdrm_nouveau.so.1 [0xb7b1d4f1] 9: /usr/X11R7/lib/libdrm_nouveau.so.1(nouveau_bo_map_range+0xf3) [0xb7b1d723] 10: /usr/X11R7/lib/libdrm_nouveau.so.1(nouveau_bo_map+0x26) [0xb7b1d7d6] 11: /usr/X11R7/lib/xorg/modules/drivers/nouveau_drv.so [0xb7ab7db3] 12: /usr/X11R7/lib/xorg/modules/drivers/nouveau_drv.so [0xb7ab8eef] 13: /usr/X11R7/lib/xorg/modules/libexa.so [0xb68c552c] 14: /usr/X11R7/l...
2009 Dec 20
1
[PATCH] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
...s = nouveau_screen_map_flags(usage); int ret; + if (nscreen->pre_pipebuffer_map_callback) { + ret = nscreen->pre_pipebuffer_map_callback(pscreen, pb, usage); + if (ret) { + debug_printf("pre_pipebuffer_map_callback failed %d\n", + ret); + return NULL; + } + } + ret = nouveau_bo_map_range(bo, offset, length, flags); if (ret) { + nouveau_bo_unmap(bo); if (!(flags & NOUVEAU_BO_NOWAIT) || ret != -EBUSY) debug_printf("map_range failed: %d\n", ret); return NULL; diff --git a/src/gallium/drivers/nouveau/nouveau_screen.h b/src/gallium/drivers/nouveau/nouveau_scre...
2012 Apr 08
19
[Bug 48434] New: X freezes with "EQ overflowing"
...7] 8: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmIoctl+0x28) [0x7f00ff00ca68] 9: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmCommandWrite+0x1b) [0x7f00ff00ed5b] 10: /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.1 (0x7f00fe9bd000+0x3197) [0x7f00fe9c0197] 11: /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.1 (nouveau_bo_map_range+0x109) [0x7f00fe9c07b9] 12: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0x7f00febc3000+0x7b23) [0x7f00febcab23] 13: /usr/lib/xorg/modules/libexa.so (0x7f00fe582000+0x4c47) [0x7f00fe586c47] 14: /usr/lib/xorg/modules/libexa.so (0x7f00fe582000+0x82fb) [0x7f00fe58a2fb] 15: /usr/lib/xorg/modules/libex...
2009 Oct 14
0
[PATCH 3/7] nv50: submit user vbo data through the fifo
...ipe_vertex_buffer *vb = &nv50->vtxbuf[i]; + unsigned size, delta; + + if (nouveau_bo(vb->buffer)->map) + continue; + + size = vb->stride * (vb->max_index + 1); + delta = vb->buffer_offset; + + if (!size) + size = vb->buffer->size - vb->buffer_offset; + + if (nouveau_bo_map_range(nouveau_bo(vb->buffer), + delta, size, NOUVEAU_BO_RD)) + break; + } + + if (i == nv50->vtxbuf_nr) + return TRUE; + for (; i >= 0; --i) + nouveau_bo_unmap(nouveau_bo(nv50->vtxbuf[i].buffer)); + return FALSE; +} + +static INLINE void +nv50_unmap_vbufs(struct nv50_context *nv50) +...
2010 Feb 24
35
[Bug 26733] New: Full-screen XV causes graphics lockup
http://bugs.freedesktop.org/show_bug.cgi?id=26733 Summary: Full-screen XV causes graphics lockup 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:
2010 Mar 09
72
[Bug 26980] New: GT230M/nouveau: X server hangs spontaneously
...0f0) [0x3e9e20f0f0] 7: /lib64/libc.so.6 (ioctl+0x7) [0x3e9d6d6937] 8: /usr/lib64/libdrm.so.2 (drmIoctl+0x23) [0x3eb3e03383] 9: /usr/lib64/libdrm.so.2 (drmCommandWrite+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 (...
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
2009 Dec 30
4
[PATCH 1/3] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
...s = nouveau_screen_map_flags(usage); int ret; + if (nscreen->pre_pipebuffer_map_callback) { + ret = nscreen->pre_pipebuffer_map_callback(pscreen, pb, usage); + if (ret) { + debug_printf("pre_pipebuffer_map_callback failed %d\n", + ret); + return NULL; + } + } + ret = nouveau_bo_map_range(bo, offset, length, flags); if (ret) { + nouveau_bo_unmap(bo); if (!(flags & NOUVEAU_BO_NOWAIT) || ret != -EBUSY) debug_printf("map_range failed: %d\n", ret); return NULL; diff --git a/src/gallium/drivers/nouveau/nouveau_screen.h b/src/gallium/drivers/nouveau/nouveau_scre...