drm/i915: Retry execbuffer pinning after clearing the GTT
authorKeith Packard <keithp@keithp.com>
Fri, 21 Nov 2008 07:30:27 +0000 (23:30 -0800)
committerDave Airlie <airlied@redhat.com>
Thu, 4 Dec 2008 01:22:06 +0000 (11:22 +1000)
commitac94a962b24a88ea5d00f4697550d9982f300751
tree9dacd94c107aafc3eb33241f1aef0c8fa2dec923
parent646f0f6e43bf6628b1f0f8ca6c0227ce72e8ef3c
drm/i915: Retry execbuffer pinning after clearing the GTT

If we fail to pin all of the buffers in an execbuffer request, go through
and clear the GTT and try again to see if its just a matter of fragmentation

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_gem.c