]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
drm/i915/selftests: Fix kbuild error
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Jul 2017 12:53:36 +0000 (13:53 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jul 2017 07:38:58 +0000 (09:38 +0200)
After applying af2788925ae0 ("drm/i915: Squelch reset messages during
selftests") out of sequence, I missed fixing up a call to i915_reset().

Reported-by: kbuild test robot <kbuild-all@01.org>
Fixes: af2788925ae0 ("drm/i915: Squelch reset messages during selftests")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20170725125336.11969-1-chris@chris-wilson.co.uk
Reviewed-by: David Weinehall <david.weinehall@linux.intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/selftests/intel_hangcheck.c

index 6896751ee919edb0a955716e5d439120fbf1f3ef..7c55a4c7f4c96050ae7107191c23fb4dbe38aa6c 100644 (file)
@@ -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);