summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/drivers/gpu/i915.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/drivers/gpu/i915.sh')
-rwxr-xr-xtools/testing/selftests/drivers/gpu/i915.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/drivers/gpu/i915.sh b/tools/testing/selftests/drivers/gpu/i915.sh
index d407f0fa1e3a..c06d6e8a8dcc 100755
--- a/tools/testing/selftests/drivers/gpu/i915.sh
+++ b/tools/testing/selftests/drivers/gpu/i915.sh
@@ -7,6 +7,7 @@ if ! /sbin/modprobe -q -r i915; then
fi
if /sbin/modprobe -q i915 mock_selftests=-1; then
+ /sbin/modprobe -q -r i915
echo "drivers/gpu/i915: ok"
else
echo "drivers/gpu/i915: [FAIL]"