Skip to content

Split GuC ID space into usable and shareable pools

Piórkowski, Piotr intel-xe 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/xe/guc: Split GuC ID manager into usable and shareable poolsdrivers/gpu/drm/xe/tests/xe_guc_id_mgr_test.c drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c drivers/gpu/drm/xe/xe_guc_id_mgr.c +2 more+426 -910 replies
2/4drm/xe/kunit: Extend GuC ID manager split-pool coveragedrivers/gpu/drm/xe/tests/xe_guc_id_mgr_test.c+383 -00 replies
3/4drm/xe/guc: Start use explicitly usable GuC IDs for for submissiondrivers/gpu/drm/xe/tests/xe_guc_id_mgr_test.c drivers/gpu/drm/xe/xe_guc.c drivers/gpu/drm/xe/xe_guc_id_mgr.c +3 more+177 -470 replies
4/4drm/xe/pf: Explicitly use shareable GuC IDs for VFs provisioningdrivers/gpu/drm/xe/tests/xe_gt_sriov_pf_config_kunit.c drivers/gpu/drm/xe/tests/xe_guc_id_mgr_test.c drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c +2 more+37 -770 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/4] Split GuC ID space into usable and shareable pools

From: Piotr Piórkowski <[email protected]>

The GuC ID manager currently treats all GuC IDs as a single pool shared between GuC submission and SR-IOV related allocations.

This series introduces explicit separation between IDs that can be used for GuC submission and IDs that can be shared with VFs. The ID manager gains support for independent usable and shareable pools, dedicated allocation interfaces, pool-specific accounting and validation, and extended test coverage.

To preserve existing behaviour, both pools continue to map onto the same GuC ID space where appropriate. GuC submission is updated to explicitly allocate IDs from the usable pool, while ID manager initialization is adapted to expose the correct ID ranges for native, PF and VF operating modes.

Piotr Piórkowski (4):
drm/xe/guc: Split GuC ID manager into usable and shareable pools drm/xe/kunit: Extend GuC ID manager split-pool coverage drm/xe/guc: Start use explicitly usable GuC IDs for for submission drm/xe/pf: Explicitly use shareable GuC IDs for VFs provisioning

 .../xe/tests/xe_gt_sriov_pf_config_kunit.c    |   5 +
 drivers/gpu/drm/xe/tests/xe_guc_id_mgr_test.c | 555 +++++++++++++++++-
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c    |  16 +-
 drivers/gpu/drm/xe/xe_guc.c                   |   4 +-
 drivers/gpu/drm/xe/xe_guc_id_mgr.c            | 448 +++++++++++---
 drivers/gpu/drm/xe/xe_guc_id_mgr.h            |  31 +-
 drivers/gpu/drm/xe/xe_guc_submit.c            |  27 +-
 drivers/gpu/drm/xe/xe_guc_submit.h            |   2 +-
 drivers/gpu/drm/xe/xe_guc_types.h             |   8 +-
 9 files changed, 952 insertions(+), 144 deletions(-)
Signature · 1 line
2.34.1