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

2018-01-26 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-01-26 11:49:01) > > On 26/01/2018 09:35, 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). > > > > Signed-off-

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

2018-01-26 Thread Tvrtko Ursulin
On 26/01/2018 09:35, 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). Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin --- drivers/gpu/drm/i915/in

[Intel-gfx] [PATCH] 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). Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin --- drivers/gpu/drm/i915/intel_lrc.c | 5 ++--- 1 file changed, 2 insert