From: Keith Packard Date: Fri, 21 Nov 2008 06:54:54 +0000 (-0800) Subject: drm/i915: Subtract total pinned bytes from available aperture size X-Git-Tag: v2.6.28-rc7~46^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2678d9d6964b29ecd1975870c7a850242b29bc5c;p=pandora-kernel.git drm/i915: Subtract total pinned bytes from available aperture size The old code was wandering through the active list looking for pinned buffers; there may be other pinned buffers around. Fortunately, we keep a count of the total amount of pinned memory and can use that instead. Signed-off-by: Keith Packard Signed-off-by: Eric Anholt Signed-off-by: Dave Airlie --- Reading git-diff-tree failed