[Intel-gfx] [PATCH 2/2] drm/i915: Search again if we cannot find enough space in the aperture
chris at chris-wilson.co.uk
Mon Dec 7 23:59:46 PST 2009
On Mon, 07 Dec 2009 15:45:56 -0800, Eric Anholt <eric at anholt.net> wrote:
> On Wed, 02 Dec 2009 15:30:29 +0000, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > This is pointless since we don't release the file_offset on unbind only on
> > free. ENOSPC may still be a good touch though.
> Heh, that was the same review I was going to provide. Were you hitting
> troubles here? If so, maybe we need to make the offset map a bigger
> address space.
At one stage I was hitting ENOMEM when mapping 50,000 bo and was trying to
identify the culprit -- whether it was just a normal resource limitation
or indeed out of kernel memory. This one spot I jumped on as it looked so
similar to the aperture space, that I thought I could do some bo cache
As it didn't return ENOSPC, I'm still clueless as to just where the ENOMEM
was coming from.
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx