Common resources, like memory accounting and swap lists should be global and not per device. Introduce a struct ttm_bo_global to accomodate this, and register it with sysfs. Add a small sysfs interface to return the number of active buffer objects. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@linux.ie> |
||
---|---|---|
.. | ||
ttm_bo_api.h | ||
ttm_bo_driver.h | ||
ttm_memory.h | ||
ttm_module.h | ||
ttm_placement.h |