[igt-dev] [PATCH i-g-t v3 0/2] Avoid process exit return values in igt_kmod

Anshuman Gupta anshuman.gupta at intel.com
Tue Feb 22 14:08:36 UTC 2022


Kmod igt library functions like igt_i915_driver_{load, unload}
uses process exit IGT_EXIT_{FAILURE, SKIP, SUCCESS} return values.
Let these function return actual return values
from returned igt_kmod_{load, unload} functions. 

Also modify the perf_pmu test to use 
__igt_i915_driver_unload() accordingly.

v2:
- Addressed review comment from petri.
v3:
- Addressed review comment from Ashutosh.

Anshuman Gupta (2):
  lib/igt_kmod: Don't use process exit return value
  test/perf_pmu: Change module unload assertion

 lib/igt_kmod.c        | 34 +++++++++++++++++++++-------------
 tests/i915/perf_pmu.c | 10 ++++++----
 2 files changed, 27 insertions(+), 17 deletions(-)

-- 
2.26.2



More information about the igt-dev mailing list