drm/libdrm
Jesse Barnes e2d7dfb61a libdrm/intel: support GTT maps correctly
libdrm has some support for GTT mapping already, but there are bugs
with it (no surprise since it hasn't been used much).

In fixing 20803, I found that sharing bo_gem->virtual was a bad idea,
since a previously mapped object might not end up getting GTT mapped,
leading to corruption.  So this patch splits the fields according to
use, taking care to unmap both at free time (but preserving the map
caching).

There's still a risk we might run out of mappings (there's a sysctl
tunable for max number of mappings per process, defaulted to 64k or so
it looks like) but at least GTT maps will work with these changes (and
some others for fixing PAT breakage in the kernel).

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-03-26 16:43:00 -07:00
..
intel libdrm/intel: support GTT maps correctly 2009-03-26 16:43:00 -07:00
nouveau libdrm/nouveau: fix typo in nouveau_device_close() 2009-03-25 08:10:12 +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 mode: Make xfdrmMode.[c|h] not depend on drm_mode.h 2009-02-11 17:11:00 +01: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