Prepare GuC resource managers for VFs provisioning in PF admin only mode
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 3 repliesIn review
- v17 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | drm/xe/guc: Use ID manager to get total number of contextsdrivers/ drivers/ drivers/ +2 more | +23 | 1 reply | |
| 2/7 | drm/xe/guc: Use DB manager to get total number of doorbellsdrivers/ drivers/ drivers/ +1 more | +21 | 0 replies | |
| 3/7 | drm/xe/guc: Decouple the GuC ID manager from the submission statedrivers/ drivers/ drivers/ +3 more | +57 | 2 replies | |
| 4/7 | drm/xe/guc: Decouple the GuC DB manager from the submission statedrivers/ drivers/ drivers/ +3 more | +50 | 0 replies | |
| 5/7 | drm/xe/guc: Add start offset support to GuC ID managerdrivers/ drivers/ drivers/ +3 more | +75 | 0 replies | |
| 6/7 | drm/xe/guc: Add start offset support to GuC doorbell managerdrivers/ drivers/ drivers/ +3 more | +74 | 0 replies | |
| 7/7 | drm/xe/guc: Allow reserving GuC context IDs without retained rangedrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/7] Prepare GuC resource managers for VFs provisioning in PF admin only mode
From: Piotr Piórkowski <[email protected]>
This series prepares the GuC context ID and doorbell resource managers for upcoming SR-IOV support that will introduce dedicated resource pools for VF provisioning in PF Admin Only mode.
Currently, both managers are tightly coupled to the GuC submission infrastructure and operate on full resource spaces starting at ID 0. The planned VF provisioning support requires the PF driver to manage independent subsets of GuC resources and reserve dedicated ranges for VFs without exposing them to the PF submission path.
v2: fix kunit tests
Piotr Piórkowski (7):
drm/xe/guc: Use ID manager to get total number of contexts drm/xe/guc: Use DB manager to get total number of doorbells drm/xe/guc: Decouple the GuC ID manager from the submission state drm/xe/guc: Decouple the GuC DB manager from the submission state drm/xe/guc: Add start offset support to GuC ID manager drm/xe/guc: Add start offset support to GuC doorbell manager drm/xe/guc: Allow reserving GuC context IDs without retained range
.../xe/tests/xe_gt_sriov_pf_config_kunit.c | 7 ++ drivers/gpu/drm/xe/tests/xe_guc_db_mgr_test.c | 49 ++++++++++-- drivers/gpu/drm/xe/tests/xe_guc_id_mgr_test.c | 51 ++++++++++-- drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 21 ++--- drivers/gpu/drm/xe/xe_guc.c | 2 +- drivers/gpu/drm/xe/xe_guc_db_mgr.c | 72 +++++++++++++---- drivers/gpu/drm/xe/xe_guc_db_mgr.h | 7 +- drivers/gpu/drm/xe/xe_guc_id_mgr.c | 80 ++++++++++++++----- drivers/gpu/drm/xe/xe_guc_id_mgr.h | 7 +- drivers/gpu/drm/xe/xe_guc_submit.c | 5 +- drivers/gpu/drm/xe/xe_guc_types.h | 45 ++++++++++- 11 files changed, 278 insertions(+), 68 deletions(-)
Signature · 1 line
2.34.1