From: Chris Wilson Date: Sun, 31 Oct 2010 08:49:47 +0000 (+0000) Subject: drm/i915: Evict just the purgeable GTT entries on the first pass X-Git-Tag: v2.6.38-rc1~419^2~23^2~138 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eac3ab45955b32f3a9d89e633918c4d6f133dfa;p=pandora-kernel.git drm/i915: Evict just the purgeable GTT entries on the first pass Take two passes to evict everything whilst searching for sufficient free space to bind the batchbuffer. After searching for sufficient free space using LRU eviction, evict everything that is purgeable and try again. Only then if there is insufficient free space (or the GTT is too badly fragmented) evict everything from the aperture and try one last time. Signed-off-by: Chris Wilson --- Reading git-diff-tree failed