diff options
author | Pauli Nieminen <suokkos@gmail.com> | 2009-07-30 20:17:29 +0300 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-08-12 14:14:29 -0400 |
commit | 29173d3d5cf02d58e720b5c7fe48a0630c7d5d5f (patch) | |
tree | afaf64a351d5f451de6e9cd12191c25079888f38 /src/mesa/glapi/gl_x86-64_asm.py | |
parent | 5eeb44f3983dfda2f2707783be12806da795cbcd (diff) |
radeon: Add protection against recursive DRM locking.
Reference counting protects DRM lock call from recursive locking that would
cause hang. Code also adds optional debugging output for recursive call that
is compiled only if NDEBUG is not defined.
This code is not 100% thread safe because mesa doesn't include increment and
test atomic operation. There is built-in gcc functions but they are only
available from gcc 4.2.
Diffstat (limited to 'src/mesa/glapi/gl_x86-64_asm.py')
0 files changed, 0 insertions, 0 deletions