drm/i915: Don't taint when using fault injection
authorMichał Winiarski <michal.winiarski@intel.com>
Mon, 6 Jul 2020 14:41:07 +0000 (16:41 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Jul 2020 18:21:07 +0000 (19:21 +0100)
commitfcab594a3030d49db933d68bdad398ab8fea265c
tree18899b611f06218b2d8e4511a6b8575ea29498f0
parent65706203d159db3353839fe97561397e8c188aa1
drm/i915: Don't taint when using fault injection

It is not really unexpected to hit wedge on init this way.
We're already downgrading error printk when running with fault injection,
let's use the same approach for CI tainting.

v2: Don't check fault inject in trace dump (Chris)

Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200706144107.204821-3-michal@hardline.pl
drivers/gpu/drm/i915/i915_utils.c