Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] PF: Add handling for new adverse event thresholds
@ 2025-12-12 17:34 Michal Wajdeczko
  2025-12-12 17:34 ` [PATCH 1/3] drm/xe: Introduce IF_ARGS macro utility Michal Wajdeczko
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Michal Wajdeczko @ 2025-12-12 17:34 UTC (permalink / raw)
  To: intel-xe; +Cc: Michal Wajdeczko, Daniele Ceraolo Spurio

We want to extend our macro-based KLV list definitions with new
information about the version from which given KLV is supported.

Instead of using magic version like 0.0.0 for legacy KLVs, add
utility IF_ARGS macro that can be used in code generators to emit
different code based on the presence of any additional arguments.

This series cherry-picks one patch from the EGS series [1] and
can be merged separately.

Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>

[1] https://patchwork.freedesktop.org/series/158142/#rev3

Daniele Ceraolo Spurio (1):
  drm/xe/pf: Add handling for MLRC adverse event threshold

Michal Wajdeczko (2):
  drm/xe: Introduce IF_ARGS macro utility
  drm/xe/pf: Prepare for new threshold KLVs

 drivers/gpu/drm/xe/abi/guc_klvs_abi.h         |  9 ++++
 drivers/gpu/drm/xe/tests/xe_args_test.c       | 53 +++++++++++++++++++
 drivers/gpu/drm/xe/xe_args.h                  | 18 +++++++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c    | 20 ++++---
 drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c   |  9 ++--
 drivers/gpu/drm/xe/xe_guc.h                   | 18 +++++++
 .../drm/xe/xe_guc_klv_thresholds_set_types.h  |  6 +++
 7 files changed, 123 insertions(+), 10 deletions(-)

-- 
2.47.1


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

end of thread, other threads:[~2025-12-15 13:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-12 17:34 [PATCH 0/3] PF: Add handling for new adverse event thresholds Michal Wajdeczko
2025-12-12 17:34 ` [PATCH 1/3] drm/xe: Introduce IF_ARGS macro utility Michal Wajdeczko
2025-12-12 19:47   ` Daniele Ceraolo Spurio
2025-12-12 17:34 ` [PATCH 2/3] drm/xe/pf: Prepare for new threshold KLVs Michal Wajdeczko
2025-12-12 20:12   ` Daniele Ceraolo Spurio
2025-12-12 17:34 ` [PATCH 3/3] drm/xe/pf: Add handling for MLRC adverse event threshold Michal Wajdeczko
2025-12-12 20:15   ` Daniele Ceraolo Spurio
2025-12-12 20:17     ` Daniele Ceraolo Spurio
2025-12-15 13:46       ` Michal Wajdeczko
2025-12-12 18:02 ` ✗ CI.checkpatch: warning for PF: Add handling for new adverse event thresholds Patchwork
2025-12-12 18:03 ` ✓ CI.KUnit: success " Patchwork
2025-12-12 19:14 ` ✓ Xe.CI.BAT: " Patchwork
2025-12-13 10:55 ` ✓ 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