From: Michal Wajdeczko <michal.wajdeczko@intel.com>
To: intel-xe@lists.freedesktop.org
Subject: [PATCH v3 0/9] Introduce GuC Doorbells Manager
Date: Mon, 11 Dec 2023 21:04:15 +0100 [thread overview]
Message-ID: <20231211200424.1703-1-michal.wajdeczko@intel.com> (raw)
Introduce simple GuC doorbells 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 (9):
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: Enable CONFIG_LOCKDEP in tests
drm/xe/kunit: Add GuC Doorbells Manager tests
drivers/gpu/drm/xe/.kunitconfig | 5 +
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 | 261 ++++++++++++++++++
drivers/gpu/drm/xe/xe_guc_db_mgr.h | 22 ++
drivers/gpu/drm/xe/xe_guc_types.h | 15 +
drivers/gpu/drm/xe/xe_uc.c | 5 +
15 files changed, 675 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
next reply other threads:[~2023-12-11 20:04 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-11 20:04 Michal Wajdeczko [this message]
2023-12-11 20:04 ` [PATCH v3 1/9] drm/xe: Add GT oriented drm_printers Michal Wajdeczko
2023-12-11 20:04 ` [PATCH v3 2/9] drm/xe: Use GT oriented functions to report TLB timeout Michal Wajdeczko
2023-12-11 20:04 ` [PATCH v3 3/9] drm/xe: Introduce GuC Doorbells Manager Michal Wajdeczko
2023-12-12 7:51 ` Piotr Piórkowski
2023-12-11 20:04 ` [PATCH v3 4/9] drm/xe/kunit: Set SR-IOV mode of the fake device Michal Wajdeczko
2023-12-12 4:57 ` Lucas De Marchi
2023-12-11 20:04 ` [PATCH v3 5/9] drm/xe/kunit: Define helper functions to allocate mock device Michal Wajdeczko
2023-12-12 5:09 ` Lucas De Marchi
2023-12-11 20:04 ` [PATCH v3 6/9] drm/xe/kunit: Use xe kunit helpers in RTP test Michal Wajdeczko
2023-12-11 20:04 ` [PATCH v3 7/9] drm/xe/kunit: Use xe kunit helpers in WA test Michal Wajdeczko
2023-12-11 20:04 ` [PATCH v3 8/9] drm/xe/kunit: Enable CONFIG_LOCKDEP in tests Michal Wajdeczko
2023-12-11 20:04 ` [PATCH v3 9/9] drm/xe/kunit: Add GuC Doorbells Manager tests Michal Wajdeczko
2023-12-12 8:04 ` Piotr Piórkowski
2023-12-11 23:09 ` ✓ CI.Patch_applied: success for Introduce GuC Doorbells Manager (rev3) Patchwork
2023-12-11 23:10 ` ✗ CI.checkpatch: warning " Patchwork
2023-12-11 23:11 ` ✓ CI.KUnit: success " Patchwork
2023-12-11 23:18 ` ✓ CI.Build: " Patchwork
2023-12-11 23:19 ` ✓ CI.Hooks: " Patchwork
2023-12-11 23:20 ` ✓ CI.checksparse: " Patchwork
2023-12-11 23:55 ` ✓ CI.BAT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231211200424.1703-1-michal.wajdeczko@intel.com \
--to=michal.wajdeczko@intel.com \
--cc=intel-xe@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox