[PATCH v4 0/2] Enable GuC opt-in features

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Wed Jun 4 00:24:55 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 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.

v2: rework common KVL emission code.
v3: switch to guc_buf_cache instead of using a dedicated allocation.
v4: limit dynamic ICS to single engine cases.

[1] https://patchwork.freedesktop.org/series/149613/
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>

Daniele Ceraolo Spurio (2):
  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              | 86 ++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_guc.h              |  1 +
 drivers/gpu/drm/xe/xe_guc_submit.c       | 16 ++++-
 drivers/gpu/drm/xe/xe_uc.c               |  4 ++
 6 files changed, 136 insertions(+), 3 deletions(-)

-- 
2.43.0



More information about the Intel-xe mailing list