[igt-dev] [CI] igt/drv_module_reload: Revamp fault-injection

Chris Wilson chris at chris-wilson.co.uk
Mon Jul 9 19:56:29 UTC 2018


Quoting Michał Winiarski (2018-07-09 19:11:41)
> From: Chris Wilson <chris at chris-wilson.co.uk>
> 
> The current method of checking for a failed module load is flawed, as we
> only report the error on probing it is not being reported back by
> modprobe. So we have to dig inside the module_parameters while the
> module is still loaded to discover the error.
> 
> v2: Expect i915.inject_load_failure to be zero on success
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Michał Winiarski <michal.winiarski at intel.com>
> Cc: Imre Deak <imre.deak at intel.com>
> Reviewed-by: Michał Winiarski <michal.winiarski at intel.com>

We have to pass "disable_display=1" as well to bypass this nasty
failure. :|
-Chris


More information about the igt-dev mailing list