[Intel-gfx] [PATCH 5/6] drm/i915: move load failure injection to selftests

Chris Wilson chris at chris-wilson.co.uk
Mon Dec 31 13:18:37 UTC 2018


Quoting Tvrtko Ursulin (2018-12-31 13:13:26)
> 
> On 27/12/2018 14:33, Jani Nikula wrote:
> > Seems like selftests is a better home for everything related to load
> > failure injection, including the module parameter.
> 
> Hm not sure I would immediately want to couple the two, however..
> 
> > The failure injection code gets moved from under DRM_I915_DEBUG to
> > DRM_I915_SELFTEST config option. This should be of no consequence, as
> > the former selects the latter.
> 
> ... I also don't see why debug would auto-select self-tests.

DRM_I915_DEBUG is now the list of things we use for igt
s/DRM_I915_DEBUG/DRM_I915_IGT/

Just so we can have a single switch for "if you want to run igt, enable
this CONFIG to enable all debug features used by igt". Handy for CI
testing when more features are required.
-Chris


More information about the Intel-gfx mailing list