Re: [Intel-gfx] [PATCH] [drm/i915] Retry execbuffer pinning after clearing the GTT

2008-11-25 Thread Eric Anholt
On Fri, 2008-11-21 at 01:00 -0800, Keith Packard wrote: 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 [EMAIL PROTECTED] --- drivers/gpu/drm/i915/i915_gem.c

Re: [Intel-gfx] [PATCH] [drm/i915] Retry execbuffer pinning after clearing the GTT

2008-11-25 Thread Keith Packard
On Tue, 2008-11-25 at 16:51 -0800, Eric Anholt wrote: I think this test should be != 0. We want to stop if there's nothing left to evict (-ENOMEM) and also if we get interrupted (-ERESTARTSYS). Is there any error we want to actually ignore? I remember being confused about this one, but

[PATCH] [drm/i915] Retry execbuffer pinning after clearing the GTT

2008-11-21 Thread Keith Packard
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 [EMAIL PROTECTED] --- drivers/gpu/drm/i915/i915_gem.c | 51 --- 1 files