drm/ttm: Memory accounting rework.
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 17 Aug 2009 14:28:39 +0000 (16:28 +0200)
committerDave Airlie <airlied@linux.ie>
Wed, 19 Aug 2009 06:09:53 +0000 (16:09 +1000)
commit5fd9cbad3a4ae82c83c55b9c621d156c326724ef
tree1a0868a3bd2751fa861c083aeb3ac27f3f695694
parente9840be8c23601285a70520b4898818f28ce8c2b
drm/ttm: Memory accounting rework.

Use inclusive zones to simplify accounting and its sysfs representation.
Use DMA32 accounting where applicable.

Add a sysfs interface to make the heuristically determined limits
readable and configurable.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_global.c
drivers/gpu/drm/ttm/ttm_memory.c
drivers/gpu/drm/ttm/ttm_tt.c
include/drm/ttm/ttm_memory.h
include/drm/ttm/ttm_module.h