Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/13] drm/xe: Add and use more KLV helpers
@ 2026-07-07 22:08 Michal Wajdeczko
  2026-07-07 22:08 ` [PATCH v2 01/13] drm/xe/guc: Allow to print single KLV Michal Wajdeczko
                   ` (28 more replies)
  0 siblings, 29 replies; 37+ messages in thread
From: Michal Wajdeczko @ 2026-07-07 22:08 UTC (permalink / raw)
  To: intel-xe; +Cc: Michal Wajdeczko

v1: https://patchwork.freedesktop.org/series/169511/#rev1
v2:
    don't mix units, report too long string (Michal/Sashiko)
    don't allow to truncate object (Michal/Sashiko)
    avoid KUNIT_ASSERT under mutex (Michal/Sashiko)
    add more tests (me)

Michal Wajdeczko (13):
  drm/xe/guc: Allow to print single KLV
  drm/xe/guc: Prepare to print group KLVs
  drm/xe/guc: Add basic KLV encoding helpers
  drm/xe/guc: Add string KLV encoding helper
  drm/xe/guc: Add object KLV encoding helper
  drm/xe/guc: Add KLV parsing helper
  drm/xe/guc: Formalize Reserved KLVs
  drm/xe/tests: Add GuC KLV helpers basic tests
  drm/xe/tests: Add string encoding helper test
  drm/xe/tests: Add object encoding helper test
  drm/xe/tests: Add GuC KLV printer test
  drm/xe/tests: Add migration packet test
  drm/xe/pf: Handle migration descriptor using KLV helpers

 drivers/gpu/drm/xe/abi/guc_klvs_abi.h         |  17 +
 drivers/gpu/drm/xe/abi/xe_driver_klvs_abi.h   |  27 ++
 .../drm/xe/tests/xe_guc_klv_helpers_kunit.c   | 444 ++++++++++++++++++
 .../gpu/drm/xe/tests/xe_sriov_packet_kunit.c  |  88 ++++
 drivers/gpu/drm/xe/xe_guc_klv_helpers.c       | 258 +++++++++-
 drivers/gpu/drm/xe/xe_guc_klv_helpers.h       |  10 +
 drivers/gpu/drm/xe/xe_sriov_packet.c          | 117 ++---
 7 files changed, 886 insertions(+), 75 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/abi/xe_driver_klvs_abi.h
 create mode 100644 drivers/gpu/drm/xe/tests/xe_guc_klv_helpers_kunit.c
 create mode 100644 drivers/gpu/drm/xe/tests/xe_sriov_packet_kunit.c

-- 
2.47.1


^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2026-07-11 11:12 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-07 22:08 [PATCH v2 00/13] drm/xe: Add and use more KLV helpers Michal Wajdeczko
2026-07-07 22:08 ` [PATCH v2 01/13] drm/xe/guc: Allow to print single KLV Michal Wajdeczko
2026-07-07 22:08 ` [PATCH v2 02/13] drm/xe/guc: Prepare to print group KLVs Michal Wajdeczko
2026-07-07 22:08 ` [PATCH v2 03/13] drm/xe/guc: Add basic KLV encoding helpers Michal Wajdeczko
2026-07-07 22:08 ` [PATCH v2 04/13] drm/xe/guc: Add string KLV encoding helper Michal Wajdeczko
2026-07-09 12:51   ` Michał Winiarski
2026-07-07 22:08 ` [PATCH v2 05/13] drm/xe/guc: Add object " Michal Wajdeczko
2026-07-09 12:53   ` Michał Winiarski
2026-07-07 22:08 ` [PATCH v2 06/13] drm/xe/guc: Add KLV parsing helper Michal Wajdeczko
2026-07-07 22:08 ` [PATCH v2 07/13] drm/xe/guc: Formalize Reserved KLVs Michal Wajdeczko
2026-07-10 17:25   ` [PATCH v3 " Michal Wajdeczko
2026-07-07 22:08 ` [PATCH v2 08/13] drm/xe/tests: Add GuC KLV helpers basic tests Michal Wajdeczko
2026-07-07 22:08 ` [PATCH v2 09/13] drm/xe/tests: Add string encoding helper test Michal Wajdeczko
2026-07-08 18:07   ` [PATCH v3 " Michal Wajdeczko
2026-07-07 22:08 ` [PATCH v2 10/13] drm/xe/tests: Add object " Michal Wajdeczko
2026-07-10 19:59   ` [PATCH v3 " Michal Wajdeczko
2026-07-07 22:08 ` [PATCH v2 11/13] drm/xe/tests: Add GuC KLV printer test Michal Wajdeczko
2026-07-11  7:36   ` [PATCH v3 " Michal Wajdeczko
2026-07-07 22:08 ` [PATCH v2 12/13] drm/xe/tests: Add migration packet test Michal Wajdeczko
2026-07-08 18:09   ` [PATCH v3 " Michal Wajdeczko
2026-07-07 22:08 ` [PATCH v2 13/13] drm/xe/pf: Handle migration descriptor using KLV helpers Michal Wajdeczko
2026-07-07 22:16 ` ✗ CI.checkpatch: warning for drm/xe: Add and use more KLV helpers (rev2) Patchwork
2026-07-07 22:18 ` ✓ CI.KUnit: success " Patchwork
2026-07-07 23:04 ` ✓ Xe.CI.BAT: " Patchwork
2026-07-08  0:20 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-08 19:04 ` ✗ CI.checkpatch: warning for drm/xe: Add and use more KLV helpers (rev4) Patchwork
2026-07-08 19:05 ` ✓ CI.KUnit: success " Patchwork
2026-07-08 19:55 ` ✓ Xe.CI.BAT: " Patchwork
2026-07-08 23:56 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-10 17:31 ` ✗ CI.checkpatch: warning for drm/xe: Add and use more KLV helpers (rev5) Patchwork
2026-07-10 17:32 ` ✓ CI.KUnit: success " Patchwork
2026-07-10 18:22 ` ✓ Xe.CI.BAT: " Patchwork
2026-07-11  4:04 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-11  7:42 ` ✗ CI.checkpatch: warning for drm/xe: Add and use more KLV helpers (rev7) Patchwork
2026-07-11  7:43 ` ✓ CI.KUnit: success " Patchwork
2026-07-11  8:18 ` ✓ Xe.CI.BAT: " Patchwork
2026-07-11 11:12 ` ✓ Xe.CI.FULL: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox