diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-09-18 14:04:58 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-09-18 14:06:14 +0100 |
commit | d00f72a01bb66d63713a0628fc47b82321a92d4c (patch) | |
tree | d0131c38688f714dfce4f2830a49fae877250135 | |
parent | 0cedccc8445943cc43ecbaf9af28807e2556d129 (diff) |
tests/module_reload: Silence warnings when unloaded shared modules
So long as we spit out critical errors during i915 reload, or detect any
oops the test will do its job.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55040
-rwxr-xr-x | tests/module_reload | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/module_reload b/tests/module_reload index 400fdd04..0b06ad45 100755 --- a/tests/module_reload +++ b/tests/module_reload @@ -23,8 +23,9 @@ rmmod intel_ips &> /dev/null rmmod i915 #ignore errors in intel-gtt, often built-in rmmod intel-gtt &> /dev/null -rmmod drm_kms_helper -rmmod drm +# drm may be used by other devices (nouveau, radeon, udl, etc) +rmmod drm_kms_helper &> /dev/null +rmmod drm &> /dev/null if lsmod | grep i915 &> /dev/null ; then echo WARNING: i915.ko still loaded! |