Re: [Intel-gfx] [PATCH v2] drm/i915/lrc: Remove superfluous WARN_ON

2018-01-26 Thread Tvrtko Ursulin
On 26/01/2018 12:18, Chris Wilson wrote: Remove the WARN_ON(ce->state) inside the static function only called when ce->state == NULL and downgrade the w/a batch setup warning into a developer only mode (GEM_WARN_ON). v2: Move the deferred alloc guard into the callee, eliminating the need for th

[Intel-gfx] [PATCH v2] drm/i915/lrc: Remove superfluous WARN_ON

2018-01-26 Thread Chris Wilson
Remove the WARN_ON(ce->state) inside the static function only called when ce->state == NULL and downgrade the w/a batch setup warning into a developer only mode (GEM_WARN_ON). v2: Move the deferred alloc guard into the callee, eliminating the need for the WARN_ON: add/remove: 0/0 grow/shrink: 0/1