From: Daniel Vetter Date: Fri, 1 Oct 2010 20:05:20 +0000 (+0200) Subject: drm/i915: add accounting for mappable objects in gtt v2 X-Git-Tag: v2.6.38-rc1~419^2~23^2~162 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb7d516af11837126eb1e4a44ab0653bf9b57702;p=pandora-kernel.git drm/i915: add accounting for mappable objects in gtt v2 More precisely: For those that _need_ to be mappable. Also add two BUG_ONs in fault and pin to check the consistency of the mappable flag. Changes in v2: - Add tracking of gtt mappable space (to notice mappable/unmappable balancing issues). - Improve the mappable working set tracking by tracking fault and pin separately. Signed-off-by: Daniel Vetter Signed-off-by: Chris Wilson --- Reading git-diff-tree failed