drm/xe/tests: Add kunit tests for memory based interrupts
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | drm/xe/ggtt: Rename parameter name in xe_ggtt_init_kunit()drivers/ | +1 | 3 replies | |
| 2/13 | drm/xe/guc: Allow to replace xe_guc_irq_handler() with stubdrivers/ | +3 | 1 reply | |
| 3/13 | drm/xe/hwe: Allow to replace xe_hw_engine_handle_irq() with stubdrivers/ | +3 | 1 reply | |
| 4/13 | drm/xe/mmio: Allow to replace xe_mmio_read32|write32() with stubdrivers/ | +6 | 1 reply | |
| 5/13 | drm/xe/kunit: Promote GGTT initialization to test_init() helperdrivers/ drivers/ drivers/ | +25 | 0 replies | |
| 6/13 | drm/xe/kunit: Promote fake BO activation to test_init() helperdrivers/ drivers/ | +39 | 0 replies | |
| 7/13 | drm/xe/kunit: Activate empty MMIO stubs in test_init()drivers/ drivers/ | +38 | 0 replies | |
| 8/13 | drm/xe/memirq: Make page layout macros privatedrivers/ drivers/ | +7 | 1 reply | |
| 9/13 | drm/xe/memirq: Introduce helper to calculate source page offsetdrivers/ | +10 | 1 reply | |
| 10/13 | drm/xe/memirq: Introduce helper to calculate status vector offsetdrivers/ | +15 | 1 reply | |
| 11/13 | drm/xe/memirq: Refactor xe_memirq_hwe_handlerdrivers/ | +10 | 1 reply | |
| 12/13 | drm/xe/memirq: Dump additional source pages if MSI-Xdrivers/ drivers/ | +34 | 1 reply | |
| 13/13 | drm/xe/tests: Add kunit tests for memory based interruptsdrivers/ drivers/ | +280 | 0 replies |
Reviews trailers per patch
6 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Stuart Summers | Satyanarayana K V P | Ilia Levi |
|---|---|---|---|
| 1/13 | R-b | ||
| 2/13 | R-b | ||
| 3/13 | R-b | ||
| 4/13 | R-b | ||
| 5/13 | |||
| 6/13 | |||
| 7/13 | |||
| 8/13 | R-b | ||
| 9/13 | R-b | ||
| 10/13 | |||
| 11/13 | |||
| 12/13 | |||
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 00/13] drm/xe/tests: Add kunit tests for memory based interrupts
And improve our kunit helper to create more functional fake device.
Michal Wajdeczko (13):
drm/xe/ggtt: Rename parameter name in xe_ggtt_init_kunit() drm/xe/guc: Allow to replace xe_guc_irq_handler() with stub drm/xe/hwe: Allow to replace xe_hw_engine_handle_irq() with stub drm/xe/mmio: Allow to replace xe_mmio_read32|write32() with stub drm/xe/kunit: Promote GGTT initialization to test_init() helper drm/xe/kunit: Promote fake BO activation to test_init() helper drm/xe/kunit: Activate empty MMIO stubs in test_init() drm/xe/memirq: Make page layout macros private drm/xe/memirq: Introduce helper to calculate source page offset drm/xe/memirq: Introduce helper to calculate status vector offset drm/xe/memirq: Refactor xe_memirq_hwe_handler drm/xe/memirq: Dump additional source pages if MSI-X drm/xe/tests: Add kunit tests for memory based interrupts
drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c | 42 +-- drivers/gpu/drm/xe/tests/xe_kunit_helpers.c | 96 +++++++ drivers/gpu/drm/xe/tests/xe_memirq_kunit.c | 276 ++++++++++++++++++++ drivers/gpu/drm/xe/tests/xe_pci_test.h | 3 + drivers/gpu/drm/xe/xe_ggtt.h | 2 +- drivers/gpu/drm/xe/xe_guc.c | 3 + drivers/gpu/drm/xe/xe_hw_engine.c | 3 + drivers/gpu/drm/xe/xe_memirq.c | 95 +++++-- drivers/gpu/drm/xe/xe_memirq_types.h | 9 +- drivers/gpu/drm/xe/xe_mmio.c | 6 + 10 files changed, 471 insertions(+), 64 deletions(-) create mode 100644 drivers/gpu/drm/xe/tests/xe_memirq_kunit.c
Signature · 1 line
2.47.1