search for: u_atom

Displaying 3 results from an estimated 3 matches for "u_atom".

Did you mean: atom
2012 May 11
3
[Bug 49815] New: nouveau segfaults in p_atomic_dec_zero
...================================================== Core was generated by `/usr/lib/gnome-session/gnome-session-check-accelerated-helper'. Program terminated with signal 11, Segmentation fault. #0 0x00007f4a758b1ffa in p_atomic_dec_zero (v=0x100010001) at ../../../../src/gallium/auxiliary/util/u_atomic.h:53 53 __asm__ __volatile__("lock; decl %0; sete %1":"+m"(*v), "=qm"(c) (gdb) bt #0 0x00007f4a758b1ffa in p_atomic_dec_zero (v=0x100010001) at ../../../../src/gallium/auxiliary/util/u_atomic.h:53 #1 0x00007f4a758b1f9a in pipe_reference_described (ptr=0x10001...
2012 Oct 29
3
[Bug 56546] New: crash at the second render when applying gamma correction
...it will print a message: KEY_ENTER b) it will print another message: current error GL: no error c) the same image will be brightness d) at the second message: current error GL: no error, it will crash Crash in: ==17340== Invalid read of size 4 ==17340== at 0xE5D4ABE: set_sampler_views.isra.2 (u_atomic.h:62) ==17340== by 0xE5B72E8: draw_textured_quad.isra.8 (st_cb_drawpixels.c:777) ==17340== by 0xE5B9596: st_DrawPixels (st_cb_drawpixels.c:1156) ==17340== by 0xE56BE98: _mesa_DrawPixels (drawpix.c:131) =17340== Address 0x101a95b0 is 0 bytes inside a block of size 96 free'd ==17340=...
2016 Jun 05
0
[RFC PATCH] nouveau: add locking
...rs/nouveau/nouveau_fence.h b/src/gallium/drivers/nouveau/nouveau_fence.h index f10016d..98d021e 100644 --- a/src/gallium/drivers/nouveau/nouveau_fence.h +++ b/src/gallium/drivers/nouveau/nouveau_fence.h @@ -2,6 +2,7 @@ #ifndef __NOUVEAU_FENCE_H__ #define __NOUVEAU_FENCE_H__ +#include "util/u_atomic.h" #include "util/u_inlines.h" #include "util/list.h" @@ -47,10 +48,10 @@ static inline void nouveau_fence_ref(struct nouveau_fence *fence, struct nouveau_fence **ref) { if (fence) - ++fence->ref; + p_atomic_inc(&fence->ref); if (*ref)...