On Fri, Mar 25, 2022 at 08:40:45AM +0000, Matthew Auld wrote: > On 24/03/2022 17:47, Dixit, Ashutosh wrote: > > On Thu, 24 Mar 2022 07:26:20 -0700, Matthew Auld wrote: > > > > > > @@ -554,6 +560,7 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) > > > igt_fixture { > > > free(regions); > > > close(i915); > > > + igt_i915_driver_unload(); > > > > I thought we'd reload the module with default params here but when the next > > test runs the module gets loaded automatically so maybe this is ok? > > Yeah, that at least matches my understanding. Adding Petri in case he has > some comments here. Yes, the convention is to either leave the module loaded with defaults, or leave it unloaded. If the next test happens to be one that wants to load the module with different params, we save some time. If loading the module again doesn't work we should see some fireworks in CI results elsewhere anyway. Due to module loading problems we used to limit them to known places (reloading tests, selftests, ...) so we might need to revisit this topic later. But no need to FUD it at this time. -- Petri Latvala