summaryrefslogtreecommitdiff
path: root/scripts/code_cov_gather_on_test.py
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>2022-04-01 11:22:28 -0700
committerAshutosh Dixit <ashutosh.dixit@intel.com>2022-04-01 16:43:28 -0700
commit63ab87b8d5fb51fd4a5d05815f6ab5c210fd2376 (patch)
tree9dd0e995449cc177811f303318f204a6a7d351ed /scripts/code_cov_gather_on_test.py
parentf3110b3083b4fecfa2153563990720a7b82485c1 (diff)
lib/igt_kmod: Wait for a kmod to finish its probe before unloding it.
Modprobing i915 can result in other dependent modules being loaded automatically as a follow up. This means that by the time the i915 load function returns these modules may still be going through their init, so if we try to immediately unload i915 again we will fail with an -EBUSY. To avoid this, if the module load is still in progress, wait for it to complete before unloading. v2: move the wait to igt_kmod_unload_r (Ashutosh) Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Ashutosh Dixit <ashutosh.dixit@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Diffstat (limited to 'scripts/code_cov_gather_on_test.py')
0 files changed, 0 insertions, 0 deletions