mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-08 16:36:14 +00:00
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
This commit is contained in:
parent
0cedccc844
commit
d00f72a01b
@ -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!
|
||||
|
Loading…
x
Reference in New Issue
Block a user