[Intel-gfx] [PATCH] drm/i915: Wait and retry if there is no space in the aperture mappable area

Chris Wilson chris at chris-wilson.co.uk
Tue Oct 22 14:15:32 CEST 2013

On Tue, Oct 22, 2013 at 12:04:17PM +0000, Siluvery, Arun wrote:
> From: "Siluvery, Arun" <arun.siluvery at intel.com>
> When a mapping is requested and if there is no space the mapping fails
> and the region is not physically backed. This results in
> signal 7(SIGBUS), code 2 (BUS_ADRERR) when it is actually accessed.
> This patch handles this error, continues to wait and retries to find space.

Eh, no. The line before will remove everything from the aperture that is
unpinned. Throwing an evict_everything in here breaks reservations, so I
think you are just papering over a bug.

Chris Wilson, Intel Open Source Technology Centre

More information about the Intel-gfx mailing list