From: Chris Wilson Date: Wed, 11 Feb 2009 14:26:47 +0000 (+0000) Subject: drm/i915: Protect active fences on i915 X-Git-Tag: v2.6.29-rc8~26^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7619c4b9c95cc9a2e7f0f4f7ae21165ab5cb1e7;p=pandora-kernel.git drm/i915: Protect active fences on i915 The i915 also uses the fence registers for GPU access to tiled buffers so we cannot reallocate one whilst it is on the active list. By performing a LRU scan of the fenced buffers we also avoid waiting the possibility of waiting on a pinned, or otherwise unusable, buffer. Signed-off-by: Chris Wilson Signed-off-by: Eric Anholt --- Reading git-diff-tree failed