Skip to content

RFC: Add intel_display module support to module load tests

Jeevan B igt-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib/igt_params: Fall back to intel_display module parameterslib/igt_params.c lib/igt_params.h+79 -50 replies
2/4lib/igt_kmod: Handle the dedicated intel_display modulelib/igt_kmod.c lib/igt_kmod.h+210 -60 replies
3/4tests/intel/i915_module_load: Add intel_display module subteststests/intel/i915_module_load.c+108 -00 replies
4/4tests/intel/xe_module_load: Add intel_display module subteststests/intel/xe_module_load.c+100 -00 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/4] RFC: Add intel_display module support to module load tests

Display can now be built as a separate intel-display.ko (intel_display) instead of being part of i915/xe. This RFC makes IGT aware of it:

- Look up display module parameters in intel_display as a fallback.
- Unload intel_display together with the GPU driver and add helpers to control it explicitly.
- Add intel_display load/unload ordering subtests to i915_module_load and xe_module_load; they skip on kernels without the module.

Jeevan B (4):
lib/igt_params: Fall back to intel_display module parameters lib/igt_kmod: Handle the dedicated intel_display module tests/intel/i915_module_load: Add intel_display module subtests tests/intel/xe_module_load: Add intel_display module subtests

 lib/igt_kmod.c                 | 209 ++++++++++++++++++++++++++++++++-
 lib/igt_kmod.h                 |   7 ++
 lib/igt_params.c               |  83 ++++++++++++-
 lib/igt_params.h               |   1 +
 tests/intel/i915_module_load.c | 108 +++++++++++++++++
 tests/intel/xe_module_load.c   | 100 ++++++++++++++++
 6 files changed, 497 insertions(+), 11 deletions(-)
Signature · 1 line
2.43.0