diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-02-11 20:33:57 +0100 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-02-13 20:47:30 +0100 |
commit | e1460426b885ab656e3cda3fd3841d64260434c5 (patch) | |
tree | 1a53dce1fbacbfb0df953fbc8f282eeb335cedf4 /libdrm/xf86drm.h | |
parent | 5bd13c5e15a14d34356f2363c55b1d4c7ca3269a (diff) |
Bugzilla Bug #9457
Add refcounting of user waiters to the DRM hardware lock, so that we can use the
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.
It also resolves the AIGLX startup deadlock for the sis and the via drivers.
i810, i830 still require that the hardware lock is really taken so the deadlock remains
for those two. I'm not sure about ffb. Anyone familiar with that code?
Diffstat (limited to 'libdrm/xf86drm.h')
0 files changed, 0 insertions, 0 deletions