search for: out_ringp

Displaying 14 results from an estimated 14 matches for "out_ringp".

Did you mean: out_ring
2016 Jun 01
1
[Bug 96306] New: BUG: KASAN: slab-out-of-bounds in OUT_RINGp (via nvc0_fbcon_imageblit)
https://bugs.freedesktop.org/show_bug.cgi?id=96306 Bug ID: 96306 Summary: BUG: KASAN: slab-out-of-bounds in OUT_RINGp (via nvc0_fbcon_imageblit) Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assig...
2010 Jun 14
0
NV30 (FX 5200 Ultra) OUT_RINGp and initial four GEM objects are mapped to the GART instead of System RAM - is that proper?
...an Asus P5PE-VM with a nVidia Corporation NV34 [GeForce FX 5200 Ultra]. The kernel I used was 2.6.34-rc7, but I've also tried 2.6.35-rc2, which does the same thing (except that the offset is way higher: 0x1044000 instead of 0x24000). [1]*: OK, not all zero filled. I saw this: [ 109.283494] OUT_RINGp: Copied to ffffc90000d492b4 (sz:432) (->ec0092b4, PTE:100000ec009477, PROT:10000000000477) [ 109.283512] GART: ffffc90000d492b4: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ................................ [ 109.283530] GART: ffffc90000d492d4: 00000000 00000000 000...
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 +++++++++++++
2009 Aug 17
8
drm bo accessors etc. v2
Revised patch set v2. [PATCH 1/8] drm/nouveau: bo read/write wrappers for nv04_crtc.c [PATCH 2/8] drm/nouveau: use bo accessors for push buffers [PATCH 3/8] drm/nouveau: OUT_RINGp - optimize OUT_RING loops [PATCH 4/8] drm/nv50: proper notifier_bo access in nv50_display_vblank_crtc_handler() [PATCH 5/8] drm/nouveau: access fbcon notifier via bo accessors [PATCH 6/8] drm/nouveau: screen_base and lut must be iomem [PATCH 7/8] drm/nouveau: remove redundant check in nouveau_bo_de...
2016 Jun 06
2
[PATCH v2] Revert "drm/nouveau/device/pci: set as non-CPU-coherent on ARM64"
...ed in: [ 2.897692] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.6.0-rc5+ #543 [ 2.897694] Hardware name: ARM Juno development board (r1) (DT) [ 2.897699] task: ffffffc9768a0000 ti: ffffffc9768a8000 task.ti: ffffffc9768a8000 [ 2.897711] PC is at __memcpy+0x7c/0x180 [ 2.897719] LR is at OUT_RINGp+0x34/0x70 [ 2.897724] pc : [<ffffff80083465fc>] lr : [<ffffff800854248c>] pstate: 80000045 [ 2.897726] sp : ffffffc9768ab360 [ 2.897732] x29: ffffffc9768ab360 x28: 0000000000000001 [ 2.897738] x27: ffffffc97624c000 x26: 0000000000000000 [ 2.897744] x25: 0000000000000080 x...
2016 Apr 29
1
[PATCH] Revert "drm/nouveau/device/pci: set as non-CPU-coherent on ARM64"
...ed in: [ 2.897692] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.6.0-rc5+ #543 [ 2.897694] Hardware name: ARM Juno development board (r1) (DT) [ 2.897699] task: ffffffc9768a0000 ti: ffffffc9768a8000 task.ti: ffffffc9768a8000 [ 2.897711] PC is at __memcpy+0x7c/0x180 [ 2.897719] LR is at OUT_RINGp+0x34/0x70 [ 2.897724] pc : [<ffffff80083465fc>] lr : [<ffffff800854248c>] pstate: 80000045 [ 2.897726] sp : ffffffc9768ab360 [ 2.897732] x29: ffffffc9768ab360 x28: 0000000000000001 [ 2.897738] x27: ffffffc97624c000 x26: 0000000000000000 [ 2.897744] x25: 0000000000000080 x...
2010 Jan 06
0
[PATCH] Fix null deref in nouveau_fence_emit due to deleted fence
...void *data, struct drm_nouveau_gem_pushbuf_bo *bo = NULL; struct nouveau_channel *chan; struct validate_op op; + struct nouveau_fence* fence = 0; uint32_t *pushbuf = NULL; int ret = 0, do_reloc = 0, i; @@ -597,7 +587,8 @@ nouveau_gem_ioctl_pushbuf(struct drm_device *dev, void *data, OUT_RINGp(chan, pushbuf, req->nr_dwords); - ret = nouveau_fence_emit(op.fence); + ret = nouveau_fence_new(chan, &fence, false) + || nouveau_fence_emit(fence); if (ret) { NV_ERROR(dev, "error fencing pushbuf: %d\n", ret); WIND_RING(chan); @@ -605,7 +596,7 @@ nouveau_gem_ioctl_pushb...
2015 Nov 22
0
nouveau: BUG: KASAN: slab-out-of-bounds in memcpy+0x1d/0x40
...ort_error+0x20d/0x510 [<ffffffff810acfd7>] ? native_sched_clock+0x67/0x140 [<ffffffff8130b1b4>] kasan_report+0x34/0x40 [<ffffffff8130ac3d>] ? memcpy+0x1d/0x40 [<ffffffff8130a9da>] __asan_loadN+0x12a/0x180 [<ffffffff8130ac3d>] memcpy+0x1d/0x40 [<ffffffff82015b25>] OUT_RINGp+0x75/0x90 [<ffffffff82011572>] nvc0_fbcon_imageblit+0x462/0x6c0 [<ffffffff8200bd2d>] nouveau_fbcon_imageblit+0xfd/0x110 [<ffffffff81956a16>] soft_cursor+0x2f6/0x400 [<ffffffff81955e64>] bit_cursor+0xb14/0xb60 [<ffffffff81955350>] ? update_attr.isra.0+0xc0/0xc0 [<fff...
2016 Aug 15
1
v4.8-rc2 crashes while probing nvidia graphics card on arm64
...0 Not tainted 4.8.0-rc2-00001-g5077753 #1 [ 3.570984] Hardware name: ARM LTD ARM Juno Development Platform/ARM Juno Development Platform, BIOS EDK II Aug 5 2016 [ 3.570986] task: ffff800976ca8000 task.stack: ffff800976cb0000 [ 3.570999] PC is at __memcpy+0x7c/0x180 [ 3.571003] LR is at OUT_RINGp+0x34/0x70 [ 3.571006] pc : [<ffff00000841077c>] lr : [<ffff000008672f44>] pstate: 80000145 [ 3.571007] sp : ffff800976cb3350 [ 3.571011] x29: ffff800976cb3350 x28: 000000000000000e [ 3.571014] x27: ffff8009760f2000 x26: 0000000000000001 [ 3.571018] x25: 00000000000007ff x...
2016 Jun 06
0
[PATCH v2] Revert "drm/nouveau/device/pci: set as non-CPU-coherent on ARM64"
...] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.6.0-rc5+ #543 > [ 2.897694] Hardware name: ARM Juno development board (r1) (DT) > [ 2.897699] task: ffffffc9768a0000 ti: ffffffc9768a8000 task.ti: ffffffc9768a8000 > [ 2.897711] PC is at __memcpy+0x7c/0x180 > [ 2.897719] LR is at OUT_RINGp+0x34/0x70 > [ 2.897724] pc : [<ffffff80083465fc>] lr : [<ffffff800854248c>] pstate: 80000045 > [ 2.897726] sp : ffffffc9768ab360 > [ 2.897732] x29: ffffffc9768ab360 x28: 0000000000000001 > [ 2.897738] x27: ffffffc97624c000 x26: 0000000000000000 > [ 2.897744...
2013 Apr 30
1
[Bug 64074] New: Mesalib Installation Error
...return nouveau_pushbuf_marker_emit(chan, dwords, relocs); } static __inline__ void MARK_UNDO(struct nouveau_channel *chan) { nouveau_pushbuf_marker_undo(chan); } static __inline__ void OUT_RING(struct nouveau_channel *chan, unsigned data) { *(chan->cur++) = (data); } static __inline__ void OUT_RINGp(struct nouveau_channel *chan, const void *data, unsigned size) { //memcpy(chan->cur, data, size * 4); //chan->cur += size; } static __inline__ void OUT_RINGf(struct nouveau_channel *chan, float f) { union { uint32_t i; float f; } c; c.f = f; OUT_RING(chan, c.i); } static __inline__ uns...
2010 Jan 29
2
[PATCH 1/2] libdrm/nouveau: new optimized libdrm pushbuffer ABI
...ushbuf_flush(struct nouveau_channel *, unsigned min); @@ -67,14 +60,14 @@ MARK_UNDO(struct nouveau_channel *chan) static __inline__ void OUT_RING(struct nouveau_channel *chan, unsigned data) { - *(chan->pushbuf->cur++) = (data); + *(chan->cur++) = (data); } static __inline__ void OUT_RINGp(struct nouveau_channel *chan, const void *data, unsigned size) { - memcpy(chan->pushbuf->cur, data, size * 4); - chan->pushbuf->cur += size; + memcpy(chan->cur, data, size * 4); + chan->cur += size; } static __inline__ void @@ -88,13 +81,13 @@ OUT_RINGf(struct nouveau_channel...
2010 Jan 18
1
[PATCH 1/2] nv30-nv40: Rewrite primitive splitting and emission
...OUT_RING (chan, nvgl_primitive(mode)); + while ((vc = nv30_primitive_chunk(&prim, &start))) + { + uint32_t *elts = (uint32_t *)ib + start; while (vc) { - push = MIN2(vc, 2047); + unsigned push = MIN2(vc, 2047); BEGIN_RING_NI(chan, rankine, NV34TCL_VB_ELEMENT_U32, push); OUT_RINGp (chan, elts, push); @@ -362,11 +419,6 @@ nv30_draw_elements_u32(struct nv30_context *nv30, void *ib, vc -= push; elts += push; } - - BEGIN_RING(chan, rankine, NV34TCL_VERTEX_BEGIN_END, 1); - OUT_RING (chan, 0); - - start = restart; } } @@ -411,35 +463,24 @@ nv30_draw_elements...
2009 May 06
2
nv50: shader generation patches
Hi ! I've been trying to improve NV50 shader generation a bit the last couple of weeks, so here is what I've produced. I don't know if it's usable for you or just a pile of horrible hacks, but at least it makes some mesa demos render more correcly, p.e. the teapot (aside from mip-mapping issues of the floor texture), arbfplight, and I think the gears also didn't appear as they