]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drm/i915: Check to see if we've pinned all available fences
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Feb 2009 14:26:46 +0000 (14:26 +0000)
committerEric Anholt <eric@anholt.net>
Wed, 11 Mar 2009 03:32:13 +0000 (20:32 -0700)
commitfc7170ba281c041852eeda52d4faf5db720c99ce
tree4c846b70753cce867593adfd34df6925938108e6
parent22c344e9a03beeb7071a588a973012749f84a830
drm/i915: Check to see if we've pinned all available fences

We need to check and report if there are no available fences - or else we
spin endlessly waiting for a buffer to magically unpin itself.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem.c