[PATCH 0/8] Introduce GuC Doorbells Manager
Michal Wajdeczko
michal.wajdeczko at intel.com
Sun Dec 10 18:06:51 UTC 2023
Introduce simple GuC doorbell ID manager that will be used by the
PF driver for VFs provisioning and can later be used by submission
code once we are ready to switch from H2G based notifications to
doorbells mechanism.
As preparation steps, improve existing logging and kunit code that
is used by the new code.
Michal Wajdeczko (8):
drm/xe: Add GT oriented drm_printers
drm/xe: Use GT oriented functions to report TLB timeout
drm/xe: Introduce GuC Doorbells Manager
drm/xe/kunit: Set SR-IOV mode of the fake device
drm/xe/kunit: Define helper functions to allocate mock device
drm/xe/kunit: Use xe kunit helpers in RTP test
drm/xe/kunit: Use xe kunit helpers in WA test
drm/xe/kunit: Add GuC Doorbell Manager tests
drivers/gpu/drm/xe/Makefile | 4 +
drivers/gpu/drm/xe/tests/xe_guc_db_mgr_test.c | 199 ++++++++++++++
drivers/gpu/drm/xe/tests/xe_kunit_helpers.c | 85 ++++++
drivers/gpu/drm/xe/tests/xe_kunit_helpers.h | 19 ++
drivers/gpu/drm/xe/tests/xe_pci.c | 3 +
drivers/gpu/drm/xe/tests/xe_pci_test.h | 2 +
drivers/gpu/drm/xe/tests/xe_rtp_test.c | 36 +--
drivers/gpu/drm/xe/tests/xe_wa_test.c | 24 +-
drivers/gpu/drm/xe/xe_gt_printk.h | 44 +++
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 13 +-
drivers/gpu/drm/xe/xe_guc_db_mgr.c | 259 ++++++++++++++++++
drivers/gpu/drm/xe/xe_guc_db_mgr.h | 24 ++
drivers/gpu/drm/xe/xe_guc_types.h | 15 +
drivers/gpu/drm/xe/xe_uc.c | 5 +
14 files changed, 670 insertions(+), 62 deletions(-)
create mode 100644 drivers/gpu/drm/xe/tests/xe_guc_db_mgr_test.c
create mode 100644 drivers/gpu/drm/xe/tests/xe_kunit_helpers.c
create mode 100644 drivers/gpu/drm/xe/tests/xe_kunit_helpers.h
create mode 100644 drivers/gpu/drm/xe/xe_guc_db_mgr.c
create mode 100644 drivers/gpu/drm/xe/xe_guc_db_mgr.h
--
2.25.1
More information about the Intel-xe
mailing list