From d00f72a01bb66d63713a0628fc47b82321a92d4c Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 18 Sep 2012 14:04:58 +0100 Subject: [PATCH] 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 --- tests/module_reload | 5 +++-- 1 file 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!