drm/i915: Mark the kernel as tainted if we fail the preproduction check
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 30 Jan 2017 10:44:57 +0000 (10:44 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 31 Jan 2017 09:49:56 +0000 (09:49 +0000)
commit7c5ff4a2c588c89d00ab0e0dd61f44942233d63d
tree9027e0143afa3bd2270776a9b90f3537c6ecc358
parent248a124d6fc0fde44b8fafc695ca4a2c24eb0856
drm/i915: Mark the kernel as tainted if we fail the preproduction check

Preproduction sdv are not supported beyond the release of production
hardware, and continued use is ill-advised. Mark the kernel as tainted
to reinforce the error.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: "Zanoni, Paulo R" <paulo.r.zanoni@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170130104458.2653-2-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_drv.c