6 Commits

Author SHA1 Message Date
Paulo Zanoni
bd0aa100ca module_reload: remove snd_hda_intel
The audio driver uses the power well provided by our driver, so on
Haswell we can't "rmmod i915" if we don't "rmmod snd_hda_intel" first.

The problem with removing snd_hda_intel is that we also need to kill
its users. On the specific machine I tested, the only user seem to be
alsactl, but on other machines this may change. IMHO we should leave
the "kill user space" step to whoever is running the script, but
Daniel asked me to put it here so we have a better chance of Just
Working on QA's machines.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70336
Requested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2013-11-01 12:55:46 -02:00
Daniel Vetter
8a9b275b96 tests/module_reload: fail if the module didn't unload
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70336
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-10 11:22:09 +02:00
Chris Wilson
d00f72a01b 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
2012-09-18 14:06:14 +01:00
Daniel Vetter
c26b5ee72f tests: fixup type in module_reload
Oops, I've frobbed this to test the check but committed the wrong
version.
2012-05-25 11:29:28 +02:00
root
3985d9b976 tests: add some help to module_reload
... so that it's easier to get the kernel configuration right.
2012-05-25 11:28:38 +02:00
root
a628d56470 tests: add module reload testcase
We've broken this way too often in the past.
2012-05-25 11:02:09 +02:00