[Intel-gfx] [PATCH 2/2] drm/i915: Search again if we cannot find enough space in the aperture
Chris Wilson
chris at chris-wilson.co.uk
Tue Dec 8 08:59:46 CET 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
shrinking here.
As it didn't return ENOSPC, I'm still clueless as to just where the ENOMEM
was coming from.
-ickle
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list