drm/libdrm
Keith Packard 68103b2758 libdrm/intel: assert that clients are using bo refcounting correctly
Add assertions to drm_intel_gem_bo_reference,
drm_intel_gem_bo_reference_locked and drm_intel_gem_bo_unreference_locked
that the object has not been freed (refcount > 0). Mistakes in refcounting
lead to attempts to insert a bo into a free list more than once which causes
application failure as empty free lists are dereferenced as buffer objects.

Signed-off-by: Keith Packard <keithp@keithp.com>
2009-05-01 18:49:59 -07:00
..
intel libdrm/intel: assert that clients are using bo refcounting correctly 2009-05-01 18:49:59 -07:00
nouveau nouveau: write posting got lost somewhere, bring it back 2009-04-17 09:29:19 +10:00
ChangeLog Avoid walking off the end of the hash table. (Coverity report #465) 2006-03-15 01:02:54 +00:00
Makefile.am Fix distcheck for optional nouveau stuff. 2009-02-21 10:01:40 -08:00
TODO Formatting cleanup, dead code removal. Remove N() namespacing macro, 2006-02-20 23:09:00 +00:00
libdrm_lists.h intel: Add a new bufmgr alloc function to get BOs ready for rendering to. 2009-02-21 09:57:06 -08:00
xf86drm.c libdrm: only check for vblank timeout if we caught EINTR 2009-01-07 10:48:26 -08:00
xf86drm.h Fix DRM_CAS() on Alpha. (#16549) 2009-02-23 15:54:42 -05:00
xf86drmHash.c drm: remove drm_u64_t, replace with uint64_t everwhere 2007-07-18 09:42:06 +10:00
xf86drmMode.c libdrm/mode: align subpixel results 2009-04-22 20:25:40 +10:00
xf86drmMode.h mode: Make xfdrmMode.[c|h] not depend on drm_mode.h 2009-02-11 17:11:00 +01: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