public inbox for intel-xe@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 00/13] drm/xe/tests: Add kunit tests for memory based interrupts
@ 2026-04-28 14:27 Michal Wajdeczko
  2026-04-28 14:27 ` [PATCH 01/13] drm/xe/ggtt: Rename parameter name in xe_ggtt_init_kunit() Michal Wajdeczko
                   ` (16 more replies)
  0 siblings, 17 replies; 29+ messages in thread
From: Michal Wajdeczko @ 2026-04-28 14:27 UTC (permalink / raw)
  To: intel-xe; +Cc: Michal Wajdeczko

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

-- 
2.47.1


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2026-05-05 13:13 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-28 14:27 [PATCH 00/13] drm/xe/tests: Add kunit tests for memory based interrupts Michal Wajdeczko
2026-04-28 14:27 ` [PATCH 01/13] drm/xe/ggtt: Rename parameter name in xe_ggtt_init_kunit() Michal Wajdeczko
2026-04-29 20:29   ` Summers, Stuart
2026-04-30  8:32     ` Jani Nikula
2026-04-30 21:50       ` Summers, Stuart
2026-04-28 14:27 ` [PATCH 02/13] drm/xe/guc: Allow to replace xe_guc_irq_handler() with stub Michal Wajdeczko
2026-04-30  5:44   ` K V P, Satyanarayana
2026-04-28 14:27 ` [PATCH 03/13] drm/xe/hwe: Allow to replace xe_hw_engine_handle_irq() " Michal Wajdeczko
2026-04-30  5:47   ` K V P, Satyanarayana
2026-04-28 14:27 ` [PATCH 04/13] drm/xe/mmio: Allow to replace xe_mmio_read32|write32() " Michal Wajdeczko
2026-04-30  5:48   ` K V P, Satyanarayana
2026-04-28 14:27 ` [PATCH 05/13] drm/xe/kunit: Promote GGTT initialization to test_init() helper Michal Wajdeczko
2026-04-28 14:27 ` [PATCH 06/13] drm/xe/kunit: Promote fake BO activation " Michal Wajdeczko
2026-04-28 14:27 ` [PATCH 07/13] drm/xe/kunit: Activate empty MMIO stubs in test_init() Michal Wajdeczko
2026-04-28 14:27 ` [PATCH 08/13] drm/xe/memirq: Make page layout macros private Michal Wajdeczko
2026-05-05  7:54   ` Levi, Ilia
2026-04-28 14:27 ` [PATCH 09/13] drm/xe/memirq: Introduce helper to calculate source page offset Michal Wajdeczko
2026-05-05  8:27   ` Levi, Ilia
2026-04-28 14:27 ` [PATCH 10/13] drm/xe/memirq: Introduce helper to calculate status vector offset Michal Wajdeczko
2026-05-05 12:40   ` Levi, Ilia
2026-04-28 14:27 ` [PATCH 11/13] drm/xe/memirq: Refactor xe_memirq_hwe_handler Michal Wajdeczko
2026-05-05 12:46   ` Levi, Ilia
2026-04-28 14:27 ` [PATCH 12/13] drm/xe/memirq: Dump additional source pages if MSI-X Michal Wajdeczko
2026-05-05 13:12   ` Levi, Ilia
2026-04-28 14:27 ` [PATCH 13/13] drm/xe/tests: Add kunit tests for memory based interrupts Michal Wajdeczko
2026-04-28 16:33 ` ✗ CI.checkpatch: warning for " Patchwork
2026-04-28 16:35 ` ✓ CI.KUnit: success " Patchwork
2026-04-28 17:43 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-29  5:04 ` ✗ Xe.CI.FULL: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox