On Wed, Dec 14, 2011 at 03:09:24PM +0000, Chris Wilson wrote: > On Wed, 14 Dec 2011 13:57:09 +0100, Daniel Vetter <daniel.vet...@ffwll.ch> > wrote: > > With the fence accounting fixed up in the previous commit not finding > > enough fences is a fatal error and userspace bug. Trashing the entire > > gtt is not gonna turn up that missing fence, so don't to this by > > returning another error thatn ENOSPC. > > > > This has the added benefit that it's easier to distinguish fence > > accounting errors from gtt space accounting issues. > > > > TTM serves as precendence for the EDEADLK error code - it returns it > > when the reservation code needs resources already blocked by the > > current reservation. > > > > Signed-Off-by: Daniel Vetter <daniel.vet...@ffwll.ch> > Reviewed-by: Chris Wilson <ch...@chris-wilson.co.uk> Queued for -next, thanks for the review. -Daniel -- Daniel Vetter Mail: dan...@ffwll.ch Mobile: +41 (0)79 365 57 48 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx
- [Intel-gfx] [PATCH 09/43] drm/i915: introduce a vtable for... Daniel Vetter
- Re: [Intel-gfx] [PATCH 09/43] drm/i915: introduce a v... Chris Wilson
- Re: [Intel-gfx] [PATCH 09/43] drm/i915: introduce... Daniel Vetter
- Re: [Intel-gfx] [PATCH 09/43] drm/i915: introduce a v... Kenneth Graunke
- [Intel-gfx] [PATCH 10/43] drm/i915/ringbuffer: kill snb bl... Daniel Vetter
- Re: [Intel-gfx] [PATCH 10/43] drm/i915/ringbuffer: ki... Daniel Vetter
- [Intel-gfx] [PATCH 11/43] drm/i915: Separate fence pin cou... Daniel Vetter
- Re: [Intel-gfx] [PATCH 11/43] drm/i915: Separate fenc... Daniel Vetter
- [Intel-gfx] [PATCH 12/43] drm/i915: don't trash the gtt wh... Daniel Vetter
- Re: [Intel-gfx] [PATCH 12/43] drm/i915: don't trash t... Chris Wilson
- Re: [Intel-gfx] [PATCH 12/43] drm/i915: don't tra... Daniel Vetter
- [Intel-gfx] [PATCH 13/43] drm/i915: refactor debugfs open ... Daniel Vetter
- Re: [Intel-gfx] [PATCH 13/43] drm/i915: refactor debu... Chris Wilson
- Re: [Intel-gfx] [PATCH 13/43] drm/i915: refactor debu... Eugeni Dodonov
- Re: [Intel-gfx] [PATCH 13/43] drm/i915: refactor debu... Daniel Vetter
- [Intel-gfx] [PATCH 14/43] drm/i915: refactor debugfs creat... Daniel Vetter
- Re: [Intel-gfx] [PATCH 14/43] drm/i915: refactor debu... Eugeni Dodonov
- [Intel-gfx] [PATCH 16/43] drm/i915: rework dev->first_e... Daniel Vetter
- Re: [Intel-gfx] [PATCH 16/43] drm/i915: rework dev-&g... Chris Wilson
- Re: [Intel-gfx] [PATCH 16/43] drm/i915: rework dev-&g... Eugeni Dodonov
- [Intel-gfx] [PATCH 17/43] drm/i915: destroy existing error... Daniel Vetter