Re: [Intel-gfx] [PATCH 1/4] drm/i915: Remove assertion from raw __i915_vma_unpin()

2017-07-24 Thread Joonas Lahtinen
On pe, 2017-07-21 at 15:50 +0100, Chris Wilson wrote: > After we detect a i915_vma pin overflow, we call __i915_vma_unpin to > cleanup. However, on an overflow the pin_count bitfield will be zero, > triggering an assertion, even though we the intention is to merely warn > and report the error back

[Intel-gfx] [PATCH 1/4] drm/i915: Remove assertion from raw __i915_vma_unpin()

2017-07-21 Thread Chris Wilson
After we detect a i915_vma pin overflow, we call __i915_vma_unpin to cleanup. However, on an overflow the pin_count bitfield will be zero, triggering an assertion, even though we the intention is to merely warn and report the error back to the user (as historically the culprit has be a leak in the