igt-dev.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH i-g-t] igt/pm_rpm: Close local fd before trying to unload module
@ 2018-08-15  9:25 Chris Wilson
  2018-08-15 10:48 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Chris Wilson @ 2018-08-15  9:25 UTC (permalink / raw)
  To: igt-dev; +Cc: intel-gfx

Fixes: d8e78990aa2b ("igt/pm_rpm: Test reaquisition of runtime-pm after module reload")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/pm_rpm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/pm_rpm.c b/tests/pm_rpm.c
index 65489bcdb..a4f9f783e 100644
--- a/tests/pm_rpm.c
+++ b/tests/pm_rpm.c
@@ -2034,6 +2034,8 @@ int main(int argc, char *argv[])
 		teardown_environment();
 
 	igt_subtest("module-reload") {
+		teardown_environment();
+
 		igt_debug("Reload w/o display\n");
 		igt_i915_driver_unload();
 		igt_assert_eq(igt_i915_driver_load("disable_display=1"), 0);
-- 
2.18.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-08-17 18:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-15  9:25 [Intel-gfx] [PATCH i-g-t] igt/pm_rpm: Close local fd before trying to unload module Chris Wilson
2018-08-15 10:48 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-08-15 11:01 ` [Intel-gfx] [igt-dev] [PATCH i-g-t] " Imre Deak
2018-08-15 11:04   ` Chris Wilson
2018-08-15 11:08 ` Chris Wilson
2018-08-15 20:58   ` Chris Wilson
2018-08-15 11:45 ` [igt-dev] ✓ Fi.CI.IGT: success for " Patchwork
2018-08-15 16:11 ` [igt-dev] ✓ Fi.CI.BAT: success for igt/pm_rpm: Close local fd before trying to unload module (rev2) Patchwork
2018-08-15 20:53 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2018-08-17 17:29 ` [igt-dev] [PATCH i-g-t] igt/pm_rpm: Close local fd before trying to unload module Antonio Argenziano
2018-08-17 17:49   ` Chris Wilson
2018-08-17 18:27     ` Antonio Argenziano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).