Introduce GuC context ID Manager
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 3 repliesIn review
- v14 patches 5 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drm/xe/guc: Move GUC_ID_MAX definition to GuC ABI headerdrivers/ drivers/ | +2 | 0 replies | |
| 2/4 | drm/xe/guc: Introduce GuC context ID Managerdrivers/ drivers/ drivers/ +1 more | +315 | 1 reply | |
| 3/4 | drm/xe/kunit: Add basic tests for GuC context ID Managerdrivers/ drivers/ | +140 | 1 reply | |
| 4/4 | drm/xe/guc: Use GuC ID Manager in submission codedrivers/ drivers/ | +10 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Matthew Brost |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] Introduce GuC context ID Manager
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
Signature · 1 line
2.43.0