[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
Wed Dec 2 16:30:29 CET 2009
On Wed, 2 Dec 2009 15:15:31 +0000, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> If we fail to find a single region large enough to map the object into
> the aperture, evict something and search. If we still fail to find
> enough space, return ENOSPC to distinguish the error from a normal
> memory allocation failure.
This is pointless since we don't release the file_offset on unbind only on
free. ENOSPC may still be a good touch though.
-ickle
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list