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

During the VF migration, we already have a place where PF needs to prepare
some KLVs during the VF state save and also be able to parse them back on
the VF restore. Since we plan to extend that scenario by adding more KLVs
and we also plan to add a new scenario where encoding and parsing KLVs will
be required, introduce customized KLV helpers and add tests for them.

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   | 348 ++++++++++++++++++
 .../gpu/drm/xe/tests/xe_sriov_packet_kunit.c  |  83 +++++
 drivers/gpu/drm/xe/xe_guc_klv_helpers.c       | 251 ++++++++++++-
 drivers/gpu/drm/xe/xe_guc_klv_helpers.h       |  10 +
 drivers/gpu/drm/xe/xe_sriov_packet.c          | 117 +++---
 7 files changed, 778 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] 34+ messages in thread

end of thread, other threads:[~2026-07-06 16:43 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-30 13:26 [PATCH 00/13] drm/xe: Add and use more KLV helpers Michal Wajdeczko
2026-06-30 13:26 ` [PATCH 01/13] drm/xe/guc: Allow to print single KLV Michal Wajdeczko
2026-07-03 11:10   ` Michał Winiarski
2026-06-30 13:26 ` [PATCH 02/13] drm/xe/guc: Prepare to print group KLVs Michal Wajdeczko
2026-07-03 11:11   ` Michał Winiarski
2026-06-30 13:26 ` [PATCH 03/13] drm/xe/guc: Add basic KLV encoding helpers Michal Wajdeczko
2026-07-03 12:58   ` Michał Winiarski
2026-06-30 13:26 ` [PATCH 04/13] drm/xe/guc: Add string KLV encoding helper Michal Wajdeczko
2026-07-03 13:29   ` Michał Winiarski
2026-07-06 16:04     ` Michal Wajdeczko
2026-06-30 13:26 ` [PATCH 05/13] drm/xe/guc: Add object " Michal Wajdeczko
2026-07-03 14:33   ` Michał Winiarski
2026-06-30 13:26 ` [PATCH 06/13] drm/xe/guc: Add KLV parsing helper Michal Wajdeczko
2026-07-03 14:40   ` Michał Winiarski
2026-06-30 13:26 ` [PATCH 07/13] drm/xe/guc: Formalize Reserved KLVs Michal Wajdeczko
2026-07-03 13:31   ` Michał Winiarski
2026-06-30 13:26 ` [PATCH 08/13] drm/xe/tests: Add GuC KLV helpers basic tests Michal Wajdeczko
2026-07-03 14:17   ` Michał Winiarski
2026-06-30 13:26 ` [PATCH 09/13] drm/xe/tests: Add string encoding helper test Michal Wajdeczko
2026-07-03 20:40   ` Michał Winiarski
2026-06-30 13:26 ` [PATCH 10/13] drm/xe/tests: Add object " Michal Wajdeczko
2026-07-03 20:47   ` Michał Winiarski
2026-07-06 16:34     ` Michal Wajdeczko
2026-06-30 13:26 ` [PATCH 11/13] drm/xe/tests: Add GuC KLV printer test Michal Wajdeczko
2026-07-03 20:49   ` Michał Winiarski
2026-06-30 13:26 ` [PATCH 12/13] drm/xe/tests: Add migration packet test Michal Wajdeczko
2026-07-03 13:44   ` Michał Winiarski
2026-07-06 16:42     ` Michal Wajdeczko
2026-06-30 13:26 ` [PATCH 13/13] drm/xe/pf: Handle migration descriptor using KLV helpers Michal Wajdeczko
2026-07-03 20:50   ` Michał Winiarski
2026-06-30 13:47 ` ✗ CI.checkpatch: warning for drm/xe: Add and use more " Patchwork
2026-06-30 13:49 ` ✓ CI.KUnit: success " Patchwork
2026-06-30 14:42 ` ✓ Xe.CI.BAT: " Patchwork
2026-07-01  5:22 ` ✓ 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