Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 00/10] Introduce GuC Doorbells Manager
@ 2023-12-15 16:24 Michal Wajdeczko
  2023-12-15 16:24 ` [PATCH v4 01/10] drm/xe: Add GT oriented drm_printers Michal Wajdeczko
                   ` (16 more replies)
  0 siblings, 17 replies; 26+ messages in thread
From: Michal Wajdeczko @ 2023-12-15 16:24 UTC (permalink / raw)
  To: intel-xe; +Cc: Rodrigo Vivi, Lucas De Marchi

Introduce simple GuC doorbells ID manager that will be used by the
PF driver for VFs provisioning and can later be used by submission
code once we are ready to switch from H2G based notifications to
doorbells mechanism.

As preparation steps, improve existing logging and kunit code that
is used by the new code.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>

Michal Wajdeczko (10):
  drm/xe: Add GT oriented drm_printers
  drm/xe: Report TLB timeout using GT oriented functions
  drm/xe: Introduce GuC Doorbells Manager
  drm/xe/kunit: Set SR-IOV mode of the fake device
  drm/xe/kunit: Define helper functions to allocate fake xe device
  drm/xe/kunit: Restore test->priv when done with fake xe device
  drm/xe/kunit: Use xe kunit helper in RTP test
  drm/xe/kunit: Use xe kunit helper in WA test
  drm/xe/kunit: Enable CONFIG_LOCKDEP in tests
  drm/xe/kunit: Add GuC Doorbells Manager tests

 drivers/gpu/drm/xe/.kunitconfig               |   5 +
 drivers/gpu/drm/xe/Makefile                   |   4 +
 drivers/gpu/drm/xe/tests/xe_guc_db_mgr_test.c | 201 ++++++++++++++
 drivers/gpu/drm/xe/tests/xe_kunit_helpers.c   |  90 ++++++
 drivers/gpu/drm/xe/tests/xe_kunit_helpers.h   |  17 ++
 drivers/gpu/drm/xe/tests/xe_pci.c             |   3 +
 drivers/gpu/drm/xe/tests/xe_pci_test.h        |   2 +
 drivers/gpu/drm/xe/tests/xe_rtp_test.c        |   5 +-
 drivers/gpu/drm/xe/tests/xe_wa_test.c         |   5 +-
 drivers/gpu/drm/xe/xe_gt_printk.h             |  44 +++
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c   |  13 +-
 drivers/gpu/drm/xe/xe_guc_db_mgr.c            | 261 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_guc_db_mgr.h            |  22 ++
 drivers/gpu/drm/xe/xe_guc_types.h             |  15 +
 drivers/gpu/drm/xe/xe_uc.c                    |   5 +
 15 files changed, 680 insertions(+), 12 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/tests/xe_guc_db_mgr_test.c
 create mode 100644 drivers/gpu/drm/xe/tests/xe_kunit_helpers.c
 create mode 100644 drivers/gpu/drm/xe/tests/xe_kunit_helpers.h
 create mode 100644 drivers/gpu/drm/xe/xe_guc_db_mgr.c
 create mode 100644 drivers/gpu/drm/xe/xe_guc_db_mgr.h

-- 
2.25.1


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

end of thread, other threads:[~2023-12-16 12:11 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-15 16:24 [PATCH v4 00/10] Introduce GuC Doorbells Manager Michal Wajdeczko
2023-12-15 16:24 ` [PATCH v4 01/10] drm/xe: Add GT oriented drm_printers Michal Wajdeczko
2023-12-15 21:48   ` Lucas De Marchi
2023-12-15 16:24 ` [PATCH v4 02/10] drm/xe: Report TLB timeout using GT oriented functions Michal Wajdeczko
2023-12-15 21:50   ` Lucas De Marchi
2023-12-15 16:24 ` [PATCH v4 03/10] drm/xe: Introduce GuC Doorbells Manager Michal Wajdeczko
2023-12-15 16:24 ` [PATCH v4 04/10] drm/xe/kunit: Set SR-IOV mode of the fake device Michal Wajdeczko
2023-12-15 16:24 ` [PATCH v4 05/10] drm/xe/kunit: Define helper functions to allocate fake xe device Michal Wajdeczko
2023-12-15 22:01   ` Lucas De Marchi
2023-12-15 16:24 ` [PATCH v4 06/10] drm/xe/kunit: Restore test->priv when done with " Michal Wajdeczko
2023-12-15 22:11   ` Lucas De Marchi
2023-12-16 12:11     ` Michal Wajdeczko
2023-12-15 16:24 ` [PATCH v4 07/10] drm/xe/kunit: Use xe kunit helper in RTP test Michal Wajdeczko
2023-12-15 22:05   ` Lucas De Marchi
2023-12-15 16:25 ` [PATCH v4 08/10] drm/xe/kunit: Use xe kunit helper in WA test Michal Wajdeczko
2023-12-15 22:06   ` Lucas De Marchi
2023-12-15 16:25 ` [PATCH v4 09/10] drm/xe/kunit: Enable CONFIG_LOCKDEP in tests Michal Wajdeczko
2023-12-15 22:06   ` Lucas De Marchi
2023-12-15 16:25 ` [PATCH v4 10/10] drm/xe/kunit: Add GuC Doorbells Manager tests Michal Wajdeczko
2023-12-15 17:53 ` ✓ CI.Patch_applied: success for Introduce GuC Doorbells Manager (rev4) Patchwork
2023-12-15 17:53 ` ✗ CI.checkpatch: warning " Patchwork
2023-12-15 17:55 ` ✓ CI.KUnit: success " Patchwork
2023-12-15 18:02 ` ✓ CI.Build: " Patchwork
2023-12-15 18:02 ` ✓ CI.Hooks: " Patchwork
2023-12-15 18:04 ` ✓ CI.checksparse: " Patchwork
2023-12-15 18:36 ` ✓ CI.BAT: " Patchwork

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