[PATCH 0/3] Enable GuC opt-in features

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Thu Feb 27 01:05:27 UTC 2025


The GuC supports a H2G to opt-in to extra features on a per-VF basis.
We're interested in 2 of those features:

1 - Extended CAT error info (extra debug info)
2 - Dynamic ICS (optimization)

More details on what those do in the respective patches.

This series adds code to conditionally enable those features in both
native/PF and VF. Note however that 2 other requirements need to be
satisfied for them to fully take effect:
1 - for the VF enablement to actually work we need another series to
correnctly set the GuC compatibility version [1], but these patches can
be merged in parallel as there is no direct dependency in code.
2 - Dynamic ICS needs GuC 70.40.1 or newer, but the bump to 70.40.2
(from 70.36) is currently in flight [2].

[1] https://patchwork.freedesktop.org/series/145406/
[2] https://patchwork.freedesktop.org/series/145528/
Cc: John Harrison <John.C.Harrison at Intel.com>
Cc: Julia Filipchuk <julia.filipchuk at intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
Cc: Lukasz Laguna <lukasz.laguna at intel.com>

Daniele Ceraolo Spurio (3):
  drm/xe/guc: move KLV helpers to common file
  drm/xe/guc: Enable extended CAT error reporting
  drm/xe/guc: Enable the Dynamic Inhibit Context Switch optimization

 drivers/gpu/drm/xe/abi/guc_actions_abi.h |  4 +
 drivers/gpu/drm/xe/abi/guc_klvs_abi.h    | 28 +++++++
 drivers/gpu/drm/xe/xe_guc.c              | 94 ++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_guc.h              |  1 +
 drivers/gpu/drm/xe/xe_guc_ads.c          | 89 +++++-----------------
 drivers/gpu/drm/xe/xe_guc_klv_helpers.c  | 62 ++++++++++++++++
 drivers/gpu/drm/xe/xe_guc_klv_helpers.h  |  7 ++
 drivers/gpu/drm/xe/xe_guc_submit.c       | 16 +++-
 drivers/gpu/drm/xe/xe_guc_types.h        |  3 +
 drivers/gpu/drm/xe/xe_uc.c               |  4 +
 10 files changed, 236 insertions(+), 72 deletions(-)

-- 
2.43.0



More information about the Intel-xe mailing list