]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8b6df81dd82c7e453b360c7e66704f633bf0dfc
tree9dacd94c107aafc3eb33241f1aef0c8fa2dec923
parentad90c25aa5acb2595724ab1965e12e4f6bd7e1e2
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