[Intel-gfx] [PATCH] [drm/i915] Retry execbuffer pinning after clearing the GTT
Keith Packard
keithp at keithp.com
Wed Nov 26 03:06:44 CET 2008
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 looking at the code now, I
can't understand why. Hmm.
> ret could be -EINTR, since pin_and_relocate could have waited on space
> to evict someone, in which case we should quietly return to userland.
So just don't emit the message then?
Do you want an updated patch? Or will you generate one on your own?
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20081125/dbe0f6d3/attachment.sig>
More information about the Intel-gfx
mailing list