Re: [Intel-gfx] [PATCH 04/29] drm/i915: Try harder to allocate an mmap_offset

2012-08-20 Thread Chris Wilson
On Mon, 20 Aug 2012 11:37:30 +0200, Daniel Vetter wrote: > Ok, I've picked up things up to this patch, with the few changes applied > as discussed (plus ditching an unused var that I've forgotten to kill when > purging the put_pages from gem_reset). I'll look at the others later > today. I think

Re: [Intel-gfx] [PATCH 04/29] drm/i915: Try harder to allocate an mmap_offset

2012-08-20 Thread Daniel Vetter
On Sat, Aug 11, 2012 at 03:41:03PM +0100, Chris Wilson wrote: > Given the persistence of an offset for the lifetime of an object, itis > easy to contemplate how the mmap space becomes badly fragmented to the > point that further allocations fail with ENOSPC. Our only recourse at > this point is to

[Intel-gfx] [PATCH 04/29] drm/i915: Try harder to allocate an mmap_offset

2012-08-11 Thread Chris Wilson
Given the persistence of an offset for the lifetime of an object, itis easy to contemplate how the mmap space becomes badly fragmented to the point that further allocations fail with ENOSPC. Our only recourse at this point is to try to purge the objects to release some space and reattempt the alloc