On Fri, 6 Aug 2010 20:58:30 +0200, Daniel Vetter <dan...@ffwll.ch> wrote: > On Fri, Aug 06, 2010 at 12:25:45PM +0100, Chris Wilson wrote: > > + return i915_gem_evict_everything(dev); > > I think this should be equivalent to > > return -ENOMEM;
Yes, we could return -ENOSPC and then do_execbuffer() would unpin and call i915_gem_evict_everything() before retrying. I'm happy for anybody to paint it a completely different colour just as soon as it is heading upstream. :) -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx