Skip to content

RFC: Add intel_display module support to module load tests

Jeevan B igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8lib/igt_params: Fall back to intel_display module parameterslib/igt_params.c lib/igt_params.h+46 -30 replies
2/8tests/kms_panel_fitting: Find fastboot param with a dedicated display moduletests/kms_panel_fitting.c+10 -71 reply
3/8tests/intel/i915_module_load: Check intel_display in load subtesttests/intel/i915_module_load.c+1 -00 replies
4/8tests/intel/xe_module_load: Check intel_display in load subteststests/intel/xe_module_load.c+1 -00 replies
5/8lib/igt_kmod: Unload intel_display together with the GPU driverlib/igt_kmod.c+45 -00 replies
6/8tests/intel: Add intel_display_module_load testtests/intel/intel_display_module_load.c tests/meson.build+222 -00 replies
7/8tests/intel/xe_module_load: Verify driver unload resulttests/intel/xe_module_load.c+11 -50 replies
8/8tests/intel/i915_module_load: Verify driver unload resulttests/intel/i915_module_load.c+5 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH i-g-t 0/8] RFC: Add intel_display module support to module load tests

Kernels split the display code out of i915/xe into a separate intel_display module. This RFC makes IGT aware of it:

- Fall back to intel_display module parameters when looking up params (igt_params, kms_panel_fitting).
- Check for intel_display in the i915/xe module_load load subtests.
- Unload intel_display together with the GPU driver.
- Add an intel_display_module_load test.
- Verify the driver unload result in xe/i915_module_load.

Jeevan B (8):
lib/igt_params: Fall back to intel_display module parameters tests/kms_panel_fitting: Find fastboot param with a dedicated display
module
tests/intel/i915_module_load: Check intel_display in load subtest tests/intel/xe_module_load: Check intel_display in load subtests lib/igt_kmod: Unload intel_display together with the GPU driver tests/intel: Add intel_display_module_load test tests/intel/xe_module_load: Verify driver unload result tests/intel/i915_module_load: Verify driver unload result

 lib/igt_kmod.c                          |  45 +++++
 lib/igt_params.c                        |  48 ++++-
 lib/igt_params.h                        |   1 +
 tests/intel/i915_module_load.c          |  11 +-
 tests/intel/intel_display_module_load.c | 221 ++++++++++++++++++++++++
 tests/intel/xe_module_load.c            |  17 +-
 tests/kms_panel_fitting.c               |  17 +-
 tests/meson.build                       |   1 +
 8 files changed, 341 insertions(+), 20 deletions(-)
 create mode 100644 tests/intel/intel_display_module_load.c
Signature · 1 line
2.43.0