diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-06-06 13:41:42 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-07-25 18:47:38 +0100 |
commit | fe908a01012c9daafafb3410b9407725ca9d4f21 (patch) | |
tree | 933ea2b627270441fb7b3314d477344d02740a0e /benchmarks/gem_create.c | |
parent | 24c5e07783222b5d6cf86003e8e545033e09bb3c (diff) |
igt/drv_module_reload: Revamp fault-injection
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
v3: Do a full i915 unload to ensure fbdev is unbound in cases where it
managed to bind itself before failure injection.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>
Diffstat (limited to 'benchmarks/gem_create.c')
0 files changed, 0 insertions, 0 deletions