drm/libdrm
Eric Anholt 0dccf017ab intel: Replace wraparound test logic in bufmgr_fake. Again.
I'd swapped the operands, so if we weren't in lockstep with the hardware we
said the sequence was always passed.  Additionally, a race was available that
we might have failed at recovering from.  Instead, I've replaced the logic
with new stuff that should be more robust and not rely on all the parties in
userland following the same IRQ_EMIT() == 1 protocol.  Also, in a radical
departure from past efforts, include a long comment describing the failure
modes and how we're working around them.

Thanks to haihao for catching the original issue.
2008-09-23 17:10:04 -07:00
..
intel intel: Replace wraparound test logic in bufmgr_fake. Again. 2008-09-23 17:10:04 -07:00
ChangeLog Avoid walking off the end of the hash table. (Coverity report #465) 2006-03-15 01:02:54 +00:00
Makefile.am Add missing \ to libdrm_la_SOURCES 2008-09-10 20:05:02 -07:00
TODO Formatting cleanup, dead code removal. Remove N() namespacing macro, 2006-02-20 23:09:00 +00:00
libdrm_lists.h Drop TTM interfaces from the userland library. 2008-08-08 15:57:47 -07:00
xf86drm.c libdrm: add udev support. 2008-08-24 16:54:47 +10:00
xf86drm.h Drop TTM interfaces from the userland library. 2008-08-08 15:57:47 -07:00
xf86drmHash.c drm: remove drm_u64_t, replace with uint64_t everwhere 2007-07-18 09:42:06 +10:00
xf86drmRandom.c drm: remove drm_u64_t, replace with uint64_t everwhere 2007-07-18 09:42:06 +10:00
xf86drmSL.c drm: remove drm_u64_t, replace with uint64_t everwhere 2007-07-18 09:42:06 +10:00
xf86mm.h Fix and hook up bufmgr code to the build. 2008-06-03 14:44:53 -07:00