Skip to content

xe/xe_module_load: add a test to load/unload Xe driver

Mauro Carvalho Chehab igt-dev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 1 replyIn review
  2. v44 patches 2 repliesSuperseded
  3. v33 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches0 repliesSuperseded
v11 patch3 repliesSuperseded

Changes in v5 from the cover letter

- minimized the first patch and dropped the symlink one.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3intel-ci: update i915 blacklist to ignore the Xe drivertests/intel-ci/blacklist.txt+5 -01 reply
2/3lib/igt_kmod: add support for Xe driverlib/igt_kmod.c lib/igt_kmod.h+46 -200 replies
3/3xe/xe_module_load: add a test to load/unload Xe drivertests/intel-ci/xe-fast-feedback.testlist tests/meson.build tests/xe/xe_module_load.c+176 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchKamil Konieczny
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [igt-dev] [PATCH i-g-t v5 0/3] xe/xe_module_load: add a test to load/unload Xe driver

From: Mauro Carvalho Chehab <[email protected]>

It is interesting to let IGT to unload/reload the Xe driver, as it can help CI to track track troubles.

Add support for it.

Test documentation:

==================
igt@xe_module_load
==================

:Category: Sofware building block
:File: tests/xe/xe_module_load.c
:Sub-category: driver
:Summary: Tests the xe module loading
:Test category: functionality test

igt@xe_module_load@force-load
=============================

:Description: Load the Xe driver passing ``force_probe=*`` parameter :Run type: BAT

igt@xe_module_load@load
=======================

:Description: Load the Xe driver
:Run type: FULL

igt@xe_module_load@unload
=========================

:Description: Unload the Xe driver
:Run type: FULL

igt@xe_module_load@reload
=========================

:Description: Reload the Xe driver
:Run type: FULL

igt@xe_module_load@reload-no-display
====================================

:Description: Reload the Xe driver passing ``enable_display=0`` parameter :Run type: FULL

igt@xe_module_load@many-reload
==============================

:Description: Reload the Xe driver many times :Run type: FULL

---

v5:
- minimized the first patch and dropped the symlink one.

v4:
- patch 1 broke on two patches, to reduce git diff, making easier to review;
- addressed some nitpicks on patch 4.

v3:
- no changes. Just rebased due to a merge conflict.

v2:

- added a patch (already submitted) to shut-up i915 trybot to try to run those tests when i915 driver is loaded;
- removed duplication of the unwanted drivers array and declare it as const with const strings;
- reordered includes and removed a duplication;
- did some cosmetic changes.

Mauro Carvalho Chehab (3):
intel-ci: update i915 blacklist to ignore the Xe driver lib/igt_kmod: add support for Xe driver xe/xe_module_load: add a test to load/unload Xe driver

 lib/igt_kmod.c                           |  34 ++---
 lib/igt_kmod.h                           |  32 ++++-
 tests/intel-ci/blacklist.txt             |   5 +
 tests/intel-ci/xe-fast-feedback.testlist |   3 +
 tests/meson.build                        |   1 +
 tests/xe/xe_module_load.c                | 172 +++++++++++++++++++++++
 6 files changed, 227 insertions(+), 20 deletions(-)
 create mode 100644 tests/xe/xe_module_load.c
Signature · 1 line
2.39.2