[Intel-gfx] [PATCH] drm/i915: Fix for reserved space WARN_ON when ring begin fails
John.C.Harrison at Intel.com
Wed Jan 13 05:48:50 PST 2016
On 13/01/2016 13:09, Chris Wilson wrote:
> On Wed, Jan 13, 2016 at 12:52:40PM +0000, John.C.Harrison at Intel.com wrote:
>> From: John Harrison <John.C.Harrison at Intel.com>
>> The reserved space code was not cleaning up properly in the case where
>> the intel_ring_begin() call failed. This led to WARN_ONs firing about
>> a double reserve call when running the gem_reset_stats IGT test.
> *reserve_space() failure leads to a i915_gem_request_cancel() which
> calls intel_ring_reserved_space_cancel().
Hmm, this is very true. Evidently something weird is going on in my
tree. Ignore this patch!
More information about the Intel-gfx