Commit cb7ffbad authored by Chris Wilson's avatar Chris Wilson Committed by Daniel Vetter
Browse files

drm/i915/selftests: Fix kbuild error



After applying af2788925ae0 ("drm/i915: Squelch reset messages during
selftests") out of sequence, I missed fixing up a call to i915_reset().

Reported-by: default avatarkbuild test robot <kbuild-all@01.org>
Fixes: af2788925ae0 ("drm/i915: Squelch reset messages during selftests")
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20170725125336.11969-1-chris@chris-wilson.co.uk


Reviewed-by: default avatarDavid Weinehall <david.weinehall@linux.intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 535275d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -842,7 +842,7 @@ static int igt_render_engine_reset_fallback(void *arg)

		mutex_lock(&i915->drm.struct_mutex);
		set_bit(I915_RESET_HANDOFF, &i915->gpu_error.flags);
		i915_reset(i915);
		i915_reset(i915, I915_RESET_QUIET);
		GEM_BUG_ON(test_bit(I915_RESET_HANDOFF,
				    &i915->gpu_error.flags));
		mutex_unlock(&i915->drm.struct_mutex);