drm/xe: Add and use more KLV helpers
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest13 patches 2 repliesIn review
- v113 patches 17 repliesSuperseded
Changes in v2 from the cover letter
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)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | drm/xe/guc: Allow to print single KLVdrivers/ drivers/ | +35 | 0 replies | |
| 2/13 | drm/xe/guc: Prepare to print group KLVsdrivers/ | +18 | 0 replies | |
| 3/13 | drm/xe/guc: Add basic KLV encoding helpersdrivers/ drivers/ | +59 | 0 replies | |
| 4/13 | drm/xe/guc: Add string KLV encoding helperdrivers/ drivers/ | +36 | 1 reply | |
| 5/13 | drm/xe/guc: Add object KLV encoding helperdrivers/ drivers/ | +41 | 1 reply | |
| 6/13 | drm/xe/guc: Add KLV parsing helperdrivers/ drivers/ | +41 | 0 replies | |
| 7/13 | drm/xe/guc: Formalize Reserved KLVsdrivers/ drivers/ drivers/ +1 more | +60 | 1 reply | |
| 8/13 | drm/xe/tests: Add GuC KLV helpers basic testsdrivers/ drivers/ | +103 | 0 replies | |
| 9/13 | drm/xe/tests: Add string encoding helper testdrivers/ | +84 | 1 reply | |
| 10/13 | drm/xe/tests: Add object encoding helper testdrivers/ | +220 | 1 reply | |
| 11/13 | drm/xe/tests: Add GuC KLV printer testdrivers/ | +41 | 1 reply | |
| 12/13 | drm/xe/tests: Add migration packet testdrivers/ drivers/ | +92 | 1 reply | |
| 13/13 | drm/xe/pf: Handle migration descriptor using KLV helpersdrivers/ | +56 | 0 replies |
Reviews trailers per patch
All 13 patches have a Reviewed-by or Acked-by.
| Patch | Michał Winiarski |
|---|---|
| 1/13 | R-b |
| 2/13 | R-b |
| 3/13 | R-b |
| 4/13 | R-b |
| 5/13 | R-b |
| 6/13 | R-b |
| 7/13 | R-b R-b |
| 8/13 | R-b |
| 9/13 | R-b R-b |
| 10/13 | R-b R-b |
| 11/13 | R-b R-b |
| 12/13 | R-b R-b |
| 13/13 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/13] drm/xe: Add and use more KLV helpers
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
Signature · 1 line
2.47.1