All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Introduce GuC context ID Manager
@ 2024-03-13 22:11 Michal Wajdeczko
  2024-03-13 22:11 ` [PATCH v2 1/4] drm/xe/guc: Move GUC_ID_MAX definition to GuC ABI header Michal Wajdeczko
                   ` (10 more replies)
  0 siblings, 11 replies; 15+ messages in thread
From: Michal Wajdeczko @ 2024-03-13 22:11 UTC (permalink / raw)
  To: intel-xe; +Cc: Michal Wajdeczko

While we are already managing GuC IDs directly in GuC submission
code, using bitmap() for MLRC and ida() for SLRC, this code can't
be easily extended to meet additional requirements for SR-IOV use
cases, like limited number of IDs available on VFs, or ID range
reservation for provisioning VFs by the PF.

v2: review comments from Matt

Michal Wajdeczko (4):
  drm/xe/guc: Move GUC_ID_MAX definition to GuC ABI header
  drm/xe/guc: Introduce GuC context ID Manager
  drm/xe/kunit: Add basic tests for GuC context ID Manager
  drm/xe/guc: Use GuC ID Manager in submission code

 drivers/gpu/drm/xe/Makefile                   |   1 +
 drivers/gpu/drm/xe/tests/xe_guc_id_mgr_test.c | 136 +++++++++
 drivers/gpu/drm/xe/xe_guc_fwif.h              |   2 +
 drivers/gpu/drm/xe/xe_guc_id_mgr.c            | 279 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_guc_id_mgr.h            |  22 ++
 drivers/gpu/drm/xe/xe_guc_submit.c            |  43 +--
 drivers/gpu/drm/xe/xe_guc_types.h             |  21 +-
 7 files changed, 467 insertions(+), 37 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/tests/xe_guc_id_mgr_test.c
 create mode 100644 drivers/gpu/drm/xe/xe_guc_id_mgr.c
 create mode 100644 drivers/gpu/drm/xe/xe_guc_id_mgr.h

-- 
2.43.0


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

end of thread, other threads:[~2024-03-27 19:02 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-13 22:11 [PATCH v2 0/4] Introduce GuC context ID Manager Michal Wajdeczko
2024-03-13 22:11 ` [PATCH v2 1/4] drm/xe/guc: Move GUC_ID_MAX definition to GuC ABI header Michal Wajdeczko
2024-03-13 22:11 ` [PATCH v2 2/4] drm/xe/guc: Introduce GuC context ID Manager Michal Wajdeczko
2024-03-26 19:17   ` Matthew Brost
2024-03-13 22:11 ` [PATCH v2 3/4] drm/xe/kunit: Add basic tests for " Michal Wajdeczko
2024-03-27 19:00   ` Matthew Brost
2024-03-13 22:11 ` [PATCH v2 4/4] drm/xe/guc: Use GuC ID Manager in submission code Michal Wajdeczko
2024-03-26 19:22   ` Matthew Brost
2024-03-27 11:36 ` ✓ CI.Patch_applied: success for Introduce GuC context ID Manager (rev3) Patchwork
2024-03-27 11:36 ` ✗ CI.checkpatch: warning " Patchwork
2024-03-27 11:37 ` ✓ CI.KUnit: success " Patchwork
2024-03-27 11:48 ` ✓ CI.Build: " Patchwork
2024-03-27 11:51 ` ✓ CI.Hooks: " Patchwork
2024-03-27 11:52 ` ✓ CI.checksparse: " Patchwork
2024-03-27 12:31 ` ✓ CI.BAT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.