Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Introduce GuC context ID Manager
@ 2024-01-10 17:46 Michal Wajdeczko
  2024-01-10 17:46 ` [PATCH 1/4] drm/xe/guc: Move GUC_ID_MAX definition to GuC ABI header Michal Wajdeczko
                   ` (10 more replies)
  0 siblings, 11 replies; 17+ messages in thread
From: Michal Wajdeczko @ 2024-01-10 17:46 UTC (permalink / raw)
  To: intel-xe

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.

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            | 292 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_guc_id_mgr.h            |  22 ++
 drivers/gpu/drm/xe/xe_guc_submit.c            |  37 +--
 drivers/gpu/drm/xe/xe_guc_types.h             |  21 +-
 drivers/gpu/drm/xe/xe_uc.c                    |   5 +
 8 files changed, 479 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


base-commit: d6ef9c52d8d2ae4c85bc598b74a259db081fff26
-- 
2.25.1


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

end of thread, other threads:[~2024-03-13 22:09 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-10 17:46 [PATCH 0/4] Introduce GuC context ID Manager Michal Wajdeczko
2024-01-10 17:46 ` [PATCH 1/4] drm/xe/guc: Move GUC_ID_MAX definition to GuC ABI header Michal Wajdeczko
2024-01-22  3:15   ` Matthew Brost
2024-01-10 17:46 ` [PATCH 2/4] drm/xe/guc: Introduce GuC context ID Manager Michal Wajdeczko
2024-01-22  3:53   ` Matthew Brost
2024-03-13 22:09     ` Michal Wajdeczko
2024-01-10 17:46 ` [PATCH 3/4] drm/xe/kunit: Add basic tests for " Michal Wajdeczko
2024-01-10 17:46 ` [PATCH 4/4] drm/xe/guc: Use GuC ID Manager in submission code Michal Wajdeczko
2024-01-22  4:10   ` Matthew Brost
2024-01-10 22:08 ` ✓ CI.Patch_applied: success for Introduce GuC context ID Manager Patchwork
2024-01-10 22:09 ` ✗ CI.checkpatch: warning " Patchwork
2024-01-10 22:10 ` ✓ CI.KUnit: success " Patchwork
2024-01-10 22:17 ` ✓ CI.Build: " Patchwork
2024-01-10 22:18 ` ✓ CI.Hooks: " Patchwork
2024-01-10 22:19 ` ✓ CI.checksparse: " Patchwork
2024-01-10 22:56 ` ✗ CI.BAT: failure " Patchwork
2024-01-11 20:30   ` Michal Wajdeczko

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