diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-03-23 13:28:33 +1100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-03-23 13:28:33 +1100 |
commit | 040ac32048d5efabd557c1e0a6ab8aec2c710c56 (patch) | |
tree | ba714a33105695c7d57ff833dbd18875ddb82492 /include/asm-alpha/string.h | |
parent | 4b560fde06aeb342f3ff0bce924627ab722d251a (diff) |
drm: fix driver deadlock with AIGLX and reclaim_buffers_locked
Bugzilla Bug #9457
Add refcounting of user waiters to the DRM hardware lock, so that we can use
DRM_LOCK_CONT flag more conservatively.
Also add a kernel waiter refcount that if nonzero transfers the lock for the
kernel context when it is released. This is useful when waiting for idle and can be used for very simple fence object driver implementations for the new memory manager
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'include/asm-alpha/string.h')
0 files changed, 0 insertions, 0 deletions